I've typed npm for the last time. As JavaScript developers, we have four package managers to choose...
Let's talk about console.log-driven development. We all do it. So, instead of fighting it, let's...
Astro has dynamic tags — a way to take an element or component as a prop. I had trouble finding the...
If you document design systems, I'm about to save you a ton of time. Because Storybook comes with...
There's no first-class Lucide integration for Astro. But making a custom one isn't too hard. This is...
The VS Code explorer displays folders at the top of a directory. This is a common hierarchy that I...
YouTube makes it easy to copy-paste a video embed. LOVE THAT! But, the default embed isn't...
Three years ago Dan Abramov introduced Suspense and Async Rendering with React at JSConf Iceland...
YAML is a little clever for my taste but I'm starting to get it. Before yesterday's post, I had no...
YAML is a human friendly data serialization standard for all programming...
We can mix and match import styles to keep code tidy and direct. The code below imports both the...
Importing default can be nuanced. There are just so many ways to do it. I like to think of default...
There can only be one default export. export default function Highlander() {} Enter...
We can import all of a JavaScript module's contents into a single variable with * as. import * as...
Instructions Add this GitHub Action to your repo at .github/workflows/schedule-netlify-bui...
JavaScript Modules have a syntax for remaning named exports, at import. import { exportedName as...
Modules — in JavaScript — can be imported strictly for their side effects. import...
By default, expressions and assignments declared inside a module aren't available outside of that...
By default, React.useEffect runs every time that component renders. When we combine React.useEffect...
First, what's a Hook? Hooks are the use-prefixed functions that we've been using — useState and useE...
We have one way to update (or re-render) a component. It's React.useState. When we want to render ou...
Things happen outside of React. It's just a fact of life. React gives us a single function for conne...
When you need to render JSX conditionally, you need to use a ternary operator. There are no if/else...
To make state dynamic, we just need a function to update it. React gives us this function via React....
Out of the box, components are less flexible and re-usable than raw HTML Elements. But we can fix tha...
Props are how we configure and customize our React Components. They're just like function arguments b...
A React Component is a function that returns a React Element. What's a React Element? Gre...
Hey React Friends, I'm firing up the third season of React Holiday. This year, I'm bringing it to d...
This is a summary of key points in this reactjs.org doc What Is Suspense, Exactly? Suspe...
This is a summary of key points in this reactjs.org doc What Is Concurrent Mode? React's...