Loading tutorials
useState. It explains the rule that a component must never change its own props, and it shows the mistakes that break that rule.2 min readchildren prop works and how to use it for wrapper components.3 min readuseState.2 min readuseState at least once. It covers how to decide whether a piece of data should be a prop or state.2 min readreact-ts template. Files that contain JSX use the .tsx extension.2 min readmap. It also assumes you know what useState and useRef do at a basic level.2 min readchildren, callback props, and the difference between props and state work. You should be comfortable with JSX and with passing elements and functions as prop values.3 min readchildren prop and callback props, and call useState. It covers what to do when a value has to travel through many components.2 min readuseState. It covers when a component re-renders, what memo changes, and why new object and function props can defeat it.2 min read