Search
Managing State in React using Unstated-Next
17.6.2019
In a previous post, we saw how to manage state using Unstated. As you might recall, Unstated uses React’s built-in setState to allow you create components that can consume state by subscribing to a provider — like the React’s Context API.
Well, we’re going to build off that last post by looking...
The Easiest Way To Create Parallax Scrolling With simpleParallax
5.6.2019
A quick tutorial on how to create eye-catching parallax scroll animations using a modern JS library
Bitcoin Cash Privacy Has Improved in Leaps and Bounds
27.5.2019
Over the last few years, privacy has become of great importance to digital asset enthusiasts as law enforcement has cracked down on money transmitters, seized coin shuffling services, and blockchain analysis has increased significantly. To thwart this, some bitcoiners have turned to mixing...
Getting Started with React Testing Library
22.5.2019
I can guess what you are thinking: another React testing library? So many have already been covered here on CSS-Tricks (heck, I’ve already posted one covering Jest and Enzyme) so aren’t there already enough options to go around?
But react-testing-library is not just another testing library. It’s...
Developer Creates Interwallet Transfer Plugin to Strengthen Bitcoin Cash Privacy
20.5.2019
The Bitcoin Cash (BCH) protocol and infrastructure continue to see relentless development. The Electron Cash Cashshuffle implementation has enhanced bitcoin cash fungibility by providing users with the ability to shuffle coins. Now a developer has announced the launch of the Interwallet transfer...
What’s New in Tailwind CSS v1
20.5.2019
Tailwind has finally released a major version of the utility based styling library
Integrating Third-Party Animation Libraries to a Project
14.5.2019
Creating CSS-based animations and transitions can be a challenge. They can be complex and time-consuming. Need to move forward with a project with little time to tweak the perfect transition? Consider a third-party CSS animation library with ready-to-go animations waiting to be used. Yet, you might...
Creating Reusable Base Classes in TypeScript with a Real-Life Example
18.4.2019
Hey CSS-Tricksters! Bryan Hughes was kind enough to take a concept from an existing post he published on converting to TypeScript and take it a few couple steps further in this post to elaborate on creating reusable base classes. While this post doesn’t require reading the other one, it’s certainly...
A historical look at lowercase defaultstatus
1.4.2019
Browsers, thank heavens, take backward compatibility seriously.
Ancient websites generally work just fine on modern browsers. There is a way higher chance that a website is broken because of problems with hosting, missing or altered assets, or server changes than there is with changes in...
Build a Decentralized Web Chat in 15 Minutes
25.3.2019
In this 15 minute tutorial we’re going to build a simple decentralized chat application which runs entirely in a web browser. All you will need is a text editor, a web browser, and a basic knowledge of how to save HTML files and open them in the browser. We’re going...
React Starter: Getting Started with React (2019 Edition)
18.3.2019
React is the uber popular JavaScript library that is almost everywhere you look these days. Learning React opens up a whole new way to build front-end experiences like websites, mobile apps, and mo
Web Standards Meet User-Land: Using CSS-in-JS to Style Custom Elements
15.3.2019
The popularity of CSS-in-JS has mostly come from the React community, and indeed many CSS-in-JS libraries are React-specific. However, Emotion, the most popular library in terms of npm downloads, is framework agnostic.
Using the shadow DOM is common when creating custom elements, but there’s...
The Benefits of Structuring CSS Around Appearance and Layout
13.3.2019
I like this point that Jonathan Snook made on Twitter and I’ve been thinking about it non-stop because it describes something that’s really hard about writing CSS:
I feel like that tweet sounds either very shallow or very deep depending on how you look at it but in reality, I don't think...
Social Cards as a Service
19.2.2019
I love the idea of programmatically generated images. That power is close at hand these days for us front-end developers, thanks to the concept of headless browsers. Take Puppeteer, the library for controlling headless Chrome. Generating images from URLs is their default use case:
const puppeteer...
Text Distortion Effects using Blotter.js
6.2.2019
Some text distortion experiments using the Blotter.js library. The idea is to distort text as we scroll or move the mouse.
Text Distortion Effects using Blotter.js was written by Mary Lou and published on Codrops
Testing React and Redux Apps with Jest
5.2.2019
React is a popular library for building user interfaces created by Facebook. Redux on the other hand is a wonderful s
Testing React and Redux Apps with Jest
5.2.2019
React is a popular library for building user interfaces created by Facebook. Redux on the other hand is a wonderful s
The Ultimate Guide to JavaScript Algorithms: A Gentle Introduction to Algorithms and Data Structures
23.1.2019
In a library, there are various kinds of books on a very wide range of topics. There are books on Agriculture, Science, Arts, Politics, Nature, Software Engineering (as i must especially mention… ????
STAR Apps: A New Generation of Front-End Tooling for Development Workflows
18.1.2019
Product teams from AirBnb and New York Times to Shopify and Artsy (among many others) are converging on a new set of best practices and technologies for building the web apps that their businesses depend on. This trend reflects core principles and solve underlying problems that we may share, so...
Making Movies With amCharts
16.1.2019
In this article, I want to show off the flexibility and real power of amCharts 4. We’re going to learn how to combine multiple charts that run together with animations that form a movie experience. Even if you’re only interested in creating a different kind of animation that has nothing to do with...