or subscribe with
Join 8,000+ readers for one email each week.
Digests » 340
Vite is a modern, blazing-fast tool for scaffolding and bundling projects—quickly becoming popular due to near-instant code compilation and rapid hot module replacement. In this article, you will learn what Vite is, how to scaffold a new project with it, and more.
this week's favorite
I recently published an article about re-rendering in React where I used a simplified form example to show how using state for the value of a text input causes the component to re-render on every change. I was surprised by the number of comments I received suggesting uncontrolled inputs went against the “React” way of creating inputs.
Conditional rendering is a cornerstone of any templating language. React / JSX bravely chose not to have a dedicated conditional syntax, like ng-if="condition", relying on JS boolean operators instead.
This post is a bit different from the recent ones I’ve published. I’m going to share my point of view on practicing DRY in unit tests and why I think it is bad for you. Care to know why?
We think Remix has a better set of tradeoffs than Next.js. There is a lot of nuance in this conversation that's left un-captured in the shiny graphs and animations.
Refactoring CSS is one of the most challenging tasks as a frontend developer. You need to improve the code without altering the look and feel of the UI.