How to fetch data with React Hooks
A tutorial on fetching data in React using only built-in Hooks like useState and useEffect, without third-party libraries.
A tutorial on fetching data in React using only built-in Hooks like useState and useEffect, without third-party libraries.
A guide on testing API calls in React components using React Testing Library and Jest, covering both success and failure scenarios.
A beginner React tutorial on creating and controlling a select dropdown, from basic HTML to a reusable component.
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.
A guide to creating a custom React Hook that detects if an element's content is overflowing vertically or horizontally.
A guide to using a Higher-Order Component (HOC) with React Router to conditionally redirect users, improving performance by running logic before hooks.
A tutorial explaining how to use the useContext Hook in React to consume context and avoid prop drilling.
A beginner-friendly React tutorial on creating, controlling, and reusing checkbox components with state management.
Explains the future of React class components, recommending function components with hooks for modern development while assuring legacy support.
A tutorial on implementing middleware for React's useReducer Hook, including a custom hook example.
A guide explaining the differences between React's useEffect and useLayoutEffect hooks and when to use each one.
A comparison of React Hooks and Higher-Order Components (HOCs), highlighting problems with HOCs like prop confusion.
An introductory tutorial explaining React Hooks, showcasing how to use state and side-effects in function components.
Explains the advanced React useState features: lazy initialization for expensive state and function updates for reliable state changes.
A guide explaining how to use React's useMemo Hook to optimize performance by memoizing expensive computations in function components.
A guide explaining React's useCallback Hook for optimizing function components, including examples and comparisons to useMemo and memo.
Announcing use-sound, a React Hook for adding sound effects to web applications, with tips for tasteful implementation.
A guide on testing custom React hooks, using a useUndo hook as a practical example to demonstrate effective testing strategies.