How and When to Use Context in React with Hooks
A guide on implementing and using React Context with modern functional components and hooks, including code examples.
A guide on implementing and using React Context with modern functional components and hooks, including code examples.
A technical guide on creating a TypeScript-wrapped React useState hook for implementing a dark mode feature in applications.
A critique of over-engineering state management in React, advocating for a simpler approach aligned with the component tree structure.
A guide on implementing accessible animations in React using the prefers-reduced-motion media query to respect user motion preferences.
An in-depth look at how React Hooks like useState and useEffect work by building a simplified React engine from scratch.
An introduction to Algebraic Effects, explained in simple terms with JavaScript examples, and their relation to React concepts.
A deep dive into the React useEffect Hook, explaining its mental model and how to correctly use it to avoid common pitfalls.
Explains the key mental model difference between React function components and class components, focusing on how they capture values.
Explains why certain React APIs like React.memo are not Hooks, focusing on composition and debugging constraints.
A guide on defining the core idea (What), purpose (Why), and delivery method (How) for an effective tech talk.
Explains the rationale behind React Hooks' reliance on call order and how it enables features like multiple state variables.
A guide on using TypeScript with React Hooks, including a new chapter on typings and type safety considerations.