Loading tutorials
useState, and read JSX. It covers one idea: a component's render is a calculation. Given the same props and state, it must return the same JSX, and it must not change anything outside itself. Later chapters (the render and com5 min readuseState. It also assumes you know that a component is a function that returns a description of UI. The goal is to let you predict, for any component, whether React will call it again after something happens.6 min readuseState, read JSX, and know that the browser DOM is a tree of nodes you can read and change from JavaScript. It builds the working model of what happens between a state change and an updated screen, and then covers the errors people comm7 min readuseState hook. You should also know that a state update schedules a re-render, which the previous chapter on what triggers a re-render covered.5 min readuseState hook, and the browser DOM. It also assumes you know that a render calls your component functions and a commit applies changes to the DOM. Here you will learn how React deci6 min readuseState. It also assumes you have read the previous chapter on reconciliation, where React compares the previous element tree with the next one. Here you will see exactly how that comparison decides whether a comp6 min readmap, can write basic React components with props and JSX, and have used useState. It also builds on the previous chapter, where you saw that React decides whether to keep or reset state by comparing element type and position. Keys extend that r6 min readuseState, basic JSX, and that a component function returns a description of UI. It also assumes you have read the chapter on the render phase and the commit phase. Here the focus is on where effects fit into that sequence, and the mistakes that come from misplacing th6 min readuseState, and that you have read the earlier chapters on what triggers a re-render and how the render and commit phases work. Here you will learn the three tools React gives you to skip work, how each one decides whether6 min readuseState hook. It also assumes you have read the earlier chapters on rendering as a pure calculation and on effects timing. Here you will see how StrictMode turns purity violations in7 min readuseState triggers a re-render. You don't need to read React's source. The goal is a working mental model of what React keeps in memory between renders. That model expla6 min readuseState triggers re-renders, and that rendering must be a pure calculation. It builds on the earlier chapters on batching and Fiber. Here you will see how React can pause or abandon a render, how to mark an update as non-urgent,6 min readReact.memo compares props. It builds on the memoization chapter. Memoization only helps when it prevents work you can measure, and the Profiler is the tool that measures it.6 min read