Should You Deploy On Monday?

YES

Monday: Start the week strong! What could go wrong?

What “use client” Really Does in React and Next.js

From the Blog

What “use client” Really Does in React and Next.js

React’s use client directive might look like a simple annotation at the top of your file, but it represents a profound shift in how we structure applications. Ever since Next.js 13 introduced the new App Router with React Server Components, developers have been grappling with this two-word directive. On the surface, 'use client' marks a component to run on the browser. Under the hood, however, it opens a gateway between the server and client environments in a way that’s both elegant and technically sophisticated. In fact, React core team member Dan Abramov argues that the invention of 'use client' (and its counterpart, 'use server') is as fundamental as the introduction of async/await or even structured programming itself​. That’s a bold claim for a little string at the top of a file. So what does 'use client' really do, and why is it so important for the future of React?

Read More →