What Does “use client” Do? — overreacted

React Server Components (in?)famously has no API surface. It’s an entire programming paradigm largely stemming from two directives:

  • 'use client'
  • 'use server'

I’d like to make a bold claim that their invention belongs in the same category as structured programming (if / while), first-class functions, and async/await. In other words, I expect them to survive past React and to become common sense.

The server needs to send code to the client (by sending a

Recent Comments

No comments to show.