Refs, Events and Escape Hatches
Explores React refs, events, and escape hatches to handle stale closures and mutable state without dependency arrays.
Explores React refs, events, and escape hatches to handle stale closures and mutable state without dependency arrays.
A guide to using React callback refs as an alternative to useEffect for DOM interactions like focusing elements.
A React tutorial on creating an indeterminate (tri-state) checkbox using state management, refs, and the useEffect hook.
A step-by-step tutorial explaining the React useRef Hook, its mutable object properties, and how it differs from state.
A tutorial showing two ways to scroll to specific items in a React list component using the native scrollIntoView API.