React State explained
State is a runtime data that react relies upon in order to render your app. This data changes over time and typically affects the visual output of our app.
All of my long-form thoughts on programming, leadership, infrastructure, and more, collected in chronological order.
State is a runtime data that react relies upon in order to render your app. This data changes over time and typically affects the visual output of our app.
In the Render phase, React will execute all your app components and resolve the JSX tree.
Stop using useState for everything
memo, useMemo and useCallback ftw