#373 useSyncExternalStore - The underrated React API

sponsor

Does Your React App Need a Spreadsheet or Data Grid?

Understand the differences between spreadsheets and data grids and which problems they solve best so you can make the right choice for your React application. Read more.

this week's favorite

useSyncExternalStore - The underrated React API

You might have heard of useSyncExternalStore(), a new React 18 hook to subscribe to external data sources. It is often used internally by state management libraries - like Redux - to implement a selector system.

Introducing Preact Signals: a reactive state primitive that is fast by default

Signals are a way of expressing state that ensure apps stay fast regardless of how complex they get. Signals are based on reactive principles and provide excellent developer ergonomics, with a unique implementation optimized for Virtual DOM.

Scaling RSG Builds With Gatsby’s Data Layer

Gatsby’s data layer is the reason we can get such good build performance. This has been a key part of our architecture since the very beginning, though it’s not always well understood. In this article, I’m going to take you through how the data layer works, how it helps us rebuild sites up to 20x faster than traditional SSGs, and how we’re continuing to make it even more powerful.

Most Common useState Mistakes React Developers Often Make

The most challenging aspect of developing any application is often managing its state. However, we are often required to manage several pieces of state in our application, such as when data is retrieved from an external server or updated in the app.

Next.js 12.3

We've shipped some quality-of-life improvements to Next.js with 12.3.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.