Search
How to Conditionally Add Attributes to Objects
16.10.2020
JavaScript is full of tricks that you don’t know you want until you … want … them. Or maybe just until you see them. One trick I recently realized was conditionally adding attributes to React elements. Of course this trick essentially boils down to conditionally adding properties...
Creating Mirrors in React-Three-Fiber and Three.js
30.9.2020
A brief walk-through of how to create a mirror scene with react-three-fiber.
The post Creating Mirrors in React-Three-Fiber and Three.js appeared first on Codrops
Freeze, pause, reboot: Projects react differently to $200M KuCoin hack
27.9.2020
KuCoin reported at least $129M of the affected funds are ‘safe.’
Using Markdown and Localization in the WordPress Block Editor
23.9.2020
If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it?
Since the block editor is based on React, we may be tempted to use React components and HTML code for the documentation. That is the approach I followed in my previous article, which...
Pre-Caching Image with React Suspense
21.9.2020
Suspense is an exciting, upcoming feature of React that will enable developers to easily allow their components to delay rendering until they’re “ready,” leading to a much smoother user experience. “Ready,” in this context, can mean a number of things. For example, your data loading...
Efektivní a jednodušší vývoj? Naučíme vás, jak na to…workshopy nyní s 10% slevou
16.9.2020
Již řadu let se v SQN specializujeme na vzdělávání IT odborníků a pomáháme tím k jednoduššímu a efektivnějšímu vývoji. Naše workshopy/školení zaměřujeme na technologie Docker, Kubernetes, mikroslužby a React. Jsme si vědomi, že teorie…
Collective #622
10.9.2020
react-three-flex * AVIF has landed * Parsel * How they test * Colors for your data visualizations
The post Collective #622 appeared first on Codrops
All the Ways to Make a Web Component
7.9.2020
This is a neat page that compares a ton of different libraries with web components. One of the things I learned after posting “A Bit on Web Components Libraries” is that the web platform APIs were designed for libraries to be built around them. Interesting, right?
This page makes...
Going Jamstack with React, Serverless, and Airtable
27.8.2020
The best way to learn is to build. Let’s learn about this hot new buzzword, Jamstack, by building a site with React, Netlify (Serverless) Functions, and Airtable. One of the ingredients of Jamstack is static hosting, but that doesn’t mean everything on the site has to be static. In fact, we’re...
A Complete Walkthrough of GraphQL APIs with React and FaunaDB
27.8.2020
As a web developer, there is an interesting bit of back and forth that always comes along with setting up a new application. Even using a full stack web framework like Ruby on Rails can be non-trivial to set up and deploy, especially if it’s your first time doing so in a while.
Personally I have...
Morphing SVG With react-spring
26.8.2020
I’ve been intrigued by the morphing effect ever since I was a little kid. There’s something about a shape-shifting animation that always captures my attention. The first time I saw morphing left me wondering “ Wow, how did they do that?” Since then, I’ve created demos and written an article about...
‘Warren Buffett’ Index Predicts Stocks Crash — How Will Bitcoin React?
22.8.2020
The “Buffett Indicator” has hit levels unseen since the dot-com bubble, and Bitcoin could see a major reaction in the event of a major crash in stocks
Simple Node.js Proxy
18.8.2020
When I wanted to refresh my React.js skills, I quickly moved to create a dashboard of cryptocurrencies, their prices, and and other aspects of digital value. Getting rolling with React.js is a breeze — create-react-app {name} and you’re off and running. Getting the API working...
radEventListener: a Tale of Client-side Framework Performance
18.8.2020
React is popular, popular enough that it receives its fair share of criticism. Yet, this criticism of React isn’t completely unwarranted: React and ReactDOM total about 120 KiB of minified JavaScript, which definitely contributes to slow startup time. When client-side rendering in React is relied...
Making Sense of react-spring
4.8.2020
Animation is one of the trickier things to get right with React. In this post, I’ll try to provide the introduction to react-spring I wish I had when I first started out, then dive into some interesting use cases. While react-spring isn’t the only animation library for React, it’s one of the more...
style9: build-time CSS-in-JS
29.7.2020
In April of last year, Facebook revealed its big new redesign. An ambitious project, it was a rebuild of a large site with a massive amount of users. To accomplish this, they used several technologies they have created and open-sourced, such as React, GraphQL, Relay, and a new CSS-in-JS library...
Creating a Gatsby Site with WordPress Data
20.7.2020
In my previous article last week, I mentioned creating a partially ported WordPress-Gatsby site. This article is a continuation with a step-by-step walkthrough under the hood.
Gatsby, a React-based framework for static sites, is attracting attention not only from JavaScript developers but also from...
Building a Blog with Next.js
9.7.2020
In this article, we will use Next.js to build a static blog framework with the design and structure inspired by Jekyll. I’ve always been a big fan of how Jekyll makes it easier for beginners to setup a blog and at the same time also provides a great degree of control over every aspect of...
Frontity is React for WordPress
9.7.2020
Some developers just prefer working in React. I don’t blame them really, because I like React too. Maybe that’s what they learned first. I’ve been using it long enough there is just some comfort to it. But mostly it is the strong component model that I like. There is just...
Collective #610
18.6.2020
Tutorialist * Deep JavaScript * React Icon System * Artvee * How to Compare Objects in JavaScript
The post Collective #610 appeared first on Codrops