Loading tutorials
useState and useEffect, run a small Express server, and build JSX with a bundler. Here you will turn a React tree into an HTML string on the server with renderToString. You will also learn what that string contains, what it leaves out5 min readuseState and useEffect. It also assumes you know that renderToString tur6 min readuseState and useEffect, and basic Node.js with Express. You should also have read the previous chapters, which cover rendering components to an HTML string and what hydration does at a high level. Here you will write the client side: the call th5 min readuseState and useEffect, know basic HTML and the browser DOM, and have seen the server-rendering flow from the earlier chapters: the server produces HTML, and hydrateRoot attaches React to it in the browser. Here you will learn what a 6 min readuseState and useEffect, basic HTML and the DOM, and how hydrateRoot attaches React to server HTML. It covers what makes the first client render differ from the server HTML. The next chapters cover the fixes in detail.5 min readuseState and useEffect. It also assumes you have a working server setup with renderToPipeableStream and a client entry that calls hydrateRoot. You should already know that a hydration mismatch means the browser's first render differ4 min readuseState and useEffect. It also assumes you know how renderToPipeableStream and hydrateRoot fit together, and why a hydration mismatch happens. Here you will fix one specific kind of mismatch: generated ids that differ between the s5 min readnavigator.onLine, without causing a hydration mismatch. It assumes you know useState, useEffect, and the basics of hydrateRoot from earlier chapters. It also assumes you know why the server and the first client render must produce t5 min readuseState and useEffect, and that you have seen a hydration mismatch warning in a server-rendered React app. You should know how hydrateRoot attaches React to server HTML. The earlier chapters on mismatch causes and their fixes cover t5 min readuseState and useEffect, and you've seen the server render and hydrateRoot flow from earlier chapters. It covers how <Suspense> splits a page into parts that the server can send at different times. The next chapter covers the server API that 5 min readrenderToString produces HTML and how hydrateRoot attaches React to it. It also assumes you can read a basic Express server. Here you will learn how renderToPipeableStream sends a page in pieces and what changes on the server when you use it.5 min readrenderToPipeableStream in an Express route, and that you understand Suspense boundaries as streaming units. It covers when the server may start sending HTML, what to do when rendering fails, and how to stop a render that takes too long.5 min readhydrateRoot, Suspense boundaries, and renderToPipeableStream. You should know that hydration attaches React to server-rendered HTML, and that a <Suspense> boundary is a unit the server can send later than the rest of the page.5 min readrenderToPipeableStream and attach React with hydrateRoot. It also assumes you know what a Suspense boundary is and why a hydration mismatch happens. Here you will learn what React does after something goes wrong, how far the damage spreads,5 min readrenderToPipeableStream, hydrateRoot, Suspense boundaries, and hydration mismatches. It also assumes you can read a basic React component with useState. It does not teach you to build a Server Components setup. It explains how Server Co5 min read