TLDR Web Dev · QUICK LINKS
ON MIXING CLIENT AND SERVER
Summary from the TLDR Web Dev newsletter
Mixing client and server code is the new paradigm in React with Server Components. With the “use server” directive, you can run components exclusively on the server. This means that you can do things like write asynchronous database queries right in the component code. This post offers some thoughts on the benefits and drawbacks of this architecture.