Web Dev Infographics

React Performance Tips

React Performance Tips
1. useRef vs useStatePrefer using useRef over useState when you don’t want the component to rerender on each change. 2. useCallback vs inline functionsYou should wrap inline functions in a useCallback, especially when you’re passing them down as props to children, to prevent unnecessary renders. A f…

Node vs Browser JS

Node vs Browser Javascript
Javascript runs differently on Node and in the browser. Learn how here.

React Experiments