Loading tutorials
useState and useEffect, and async/await. It covers what each kind of component can and cannot do. The "use client" boundary and the payload format come in later chapters.2 min readuseState and useEffect, and async/await. It also assumes you know that Server Components render only on the server and Client Components can use state and effects. Here you will learn what the "use client" directive does, where to put it, 2 min readasync/await, and the difference between a Server Component and a Client Component. It covers the steps the server takes to turn a component tree into something the browser can use.3 min read"use client" boundary does. Here you learn to read the stream the server sends to the browser.3 min readasync/await, and the basics of ES modules and bundlers. It also assumes you have seen the "use client" directive. Here you will see how the RSC payload refers to client code without including that code.3 min read"use client" directive does. It covers which values a Server Component can pass as props to a Client Component, and what happens when a value cannot be passed.2 min readchildren, useState, and the idea of a "use client" boundary from earlier chapters. It covers how to combine the two kinds of components, and why one pattern that looks like it should fail works well.2 min read"use client" boundary and the RSC payload. Here you will separate two ideas that people often merge: React Server Components (RSC) and server-side rendering (SSR).3 min read"use client" boundary and the RSC payload fit together. It also assumes you are comfortable with async/await and HTML forms.2 min read"use client" boundary, serializable props, and Server Functions from the earlier chapters. It covers what leaves the server, and what an attacker can send back.2 min read