A Pattern for State Management in React Function Components

How to make a React component independent, notify its parent when its the state changes, and enable the parent to pass down new state at any time. Read more

Similar

React’s UseRef Deep Dive

useRef is well known for get access to DOM elements. However, it can also be used as a way to keep a mutable value around within a component. Similar to useState that doesn't trigger a re-render. Read more for a deep dive on useRef. (more…)

Read more »