Common React Hooks Antipatterns and Gotchas
Discusses common React Hooks antipatterns like useEffect misuse and useState gotchas, offering better solutions.
Discusses common React Hooks antipatterns like useEffect misuse and useState gotchas, offering better solutions.
Analyzes Svelte 5's reactivity, debunking its 'magic' by comparing its explicit signals to Svelte 4's compiler-based 'magic'.
A tutorial on fetching data in React using only built-in Hooks like useState and useEffect, without third-party libraries.
A guide to using React 19's useActionState hook for form validation, error handling, and resets in a contact form example.
A curated list of links covering .NET, Azure, React, Git, and other software development topics, tools, and industry news.
A guide to using React's useContext hook for efficient state management and communication between components.
Explains why you shouldn't disable React's exhaustive-deps lint rule and offers strategies to properly manage useEffect dependencies.
Comparing Zustand and React Context for state management, discussing Zustand's global scope limitations and use cases for scoped state.
Explores methods to detect the on-screen keyboard in iOS Safari, focusing on viewport monitoring and input focus for PWAs.
A TypeScript tutorial explaining how to properly type tuple return values from functions, like custom React hooks, to avoid common type inference issues.
Explains how to use React's forwardRef() and useImperativeHandle() to pass refs and access DOM elements or methods in child components.
A guide on testing API calls in React components using React Testing Library and Jest, covering both success and failure scenarios.
A former Twitter web app developer shares technical lessons and modern framework choices for rebuilding a social media platform like Twitter or Mastodon.
A beginner React tutorial on creating and controlling a select dropdown, from basic HTML to a reusable component.
Explains how to update React state via a component, using a custom heading component as an example, instead of a state updater function.
A guide to React Higher-Order Components (HOCs), focusing on conditional rendering and functional programming principles.
A tutorial on creating a custom React Hook to synchronize component state with the browser's local storage.
A custom React Hook to calculate and return the scrollbar width, useful for resolving layout issues in applications.
Explains when and how to use the keyExtractor prop in React Native's FlatList component to efficiently render lists with unique keys.
A guide to creating a custom React Hook that detects if an element's content is overflowing vertically or horizontally.