Don't over useState
Common pitfalls and best practices for using React's useState hook, focusing on avoiding unnecessary state for derived values.
Common pitfalls and best practices for using React's useState hook, focusing on avoiding unnecessary state for derived values.
Argues that using multiple boolean props in a component is a code smell, suggesting a single enum prop as a better alternative.
A tutorial on building a Tic-Tac-Toe game in React, covering game state, grid logic, and component structure.
A tutorial on using React's Context API with useReducer hook for state management as an alternative to Redux in React applications.
A critique of over-engineering state management in React, advocating for a simpler approach aligned with the component tree structure.
Explains the Render Props pattern in React for sharing code and functionality between components, including its purpose and implementation.
Explains the three primary ways to manage state in React applications: locally, parentally, and remotely.
A technical guide on implementing conditional guards within a useReducer-based finite state machine in React.
A guide to implementing periodic data polling in an Angular application using NgRx Effects and RxJS timer.
A guide on abstracting React component logic into reusable custom hooks to reduce code duplication and improve maintainability.
Explains how to implement computed properties (derived state) in React using useState and sorting examples.
A guide on how to derive state from props in React function components, including code examples for initializing and updating state.
A tutorial on managing JavaScript arrays in React state, covering common operations like adding, updating, and removing items.
Extends a React useReducer finite state machine to handle infinite contextual data, similar to XState's context, for managing dynamic state like form inputs.
A tutorial on updating items in a React list using state management, including useState and useReducer hooks.
A tutorial on adding items to a list in React using the useState Hook and controlled input fields.
A tutorial on removing items from a list in React using state management and the filter method.
A guide to implementing a finite state machine pattern using React's useReducer hook, with a practical light bulb component example.
Explores using the global NgRx Store as a local component store by dynamically creating and managing state slices tied to component lifecycle.
Explores state management and data persistence techniques for mobile apps built with Mobile Blazor Bindings, using a Budget Tracker app as an example.