Loading tutorials
useState, and how a state change makes React re-render a component and its children. It also assumes you know the split between urgent updates (typing, clicking) and non-urgent updates from the previous chapter. Here you will see the mechanism tha3 min readuseState and props. It also assumes you know that a state update makes React re-render a component tree. You don't need to know how transitions work yet. Later chapters cover them. Here you only need to make sure your app can use th2 min readuseState, how a state update triggers a re-render, and the difference between urgent and non-urgent updates from the earlier chapters. It also assumes your app renders through createRoot.2 min readuseState, props, and how a state change causes a re-render. You should also know that React 18 or later is required, and that your app renders through createRoot.3 min readuseState, props, and how a React component re-renders. You should also have seen useTransition and useDeferredValue in the previous chapters.2 min readuseState, props, and how a parent re-render re-renders its children. Familiarity with React.memo helps. You should also have seen useTransition from the earlier chapters.3 min readuseState, props, and how React re-renders a component tree. It builds on the previous chapter, which introduced useDeferredValue. Here you will see why that hook often does nothing useful unless the child component is wrapped in React.memo.3 min readuseTransition, useDeferredValue, React.memo, and the basic idea of a <Suspense> boundary with a fallback. It also assumes you can read a component that suspends while its data loads.3 min readuseTransition, startTransition and useDeferredValue from the earlier chapters. It also assumes you are comfortable with useState, React.memo and the idea that React re-renders children when a parent renders. Transitions are easy to add and easy to get wrong wi3 min readuseTransition, startTransition and useDeferredValue. It also assumes you are comfortable with useState, props and React.memo. Here you will compare the three tools and pick one for a given problem.3 min readuseTransition, isPending, and how useState updates are batched and rendered. It covers what changes in React 19 when the function you pass to startTransition is async.3 min readuseState, props, and React.memo. It also assumes you have read the earlier chapters on useDeferredValue and why the child that receives a deferred value must be memoized.3 min read