Things to know about useState
Learn 5 essential tips for React's useState hook, including functional updaters and common pitfalls to avoid in your code.
Learn 5 essential tips for React's useState hook, including functional updaters and common pitfalls to avoid in your code.
Explores the 'build vs buy' decision for UI component libraries, weighing custom development against using existing solutions.
Argues for encapsulating React hooks in custom hooks to improve code readability, maintainability, and intention clarity.
A guide to advanced tips and best practices for using styled-components in React to improve code quality and developer happiness.
An overview of the React ecosystem in 2021, covering hooks, libraries, and best practices for developers.
A guide to identifying and fixing common infinite loop issues when using the React useEffect hook in your components.
A guide to organizing a React application within a standard Java/Spring Boot project folder structure (src/main/js, src/test/js).
A guide on using environment variables in React to securely manage sensitive data like API keys and database credentials.
Explains React's data flow, covering state, props, prop drilling, and the Context API for managing data between components.
A guide to implementing client-side routing in React applications using the React Router library, covering setup, components, and navigation.
A guide to deploying React, Angular, Svelte, and Vue applications to Netlify and Vercel, covering build commands and router configuration.
A web development article advocating for the return of spacer GIFs as a layout tool, with modern React component examples.
Explains the future of React class components, recommending function components with hooks for modern development while assuring legacy support.
A step-by-step React tutorial for building a simple blog application using JSON data, covering components, state, props, and deployment.
A guide on using the Prerender service to improve SEO for React apps by serving pre-rendered HTML to search engine bots.
A guide to five useful React techniques: spreading props, destructuring, render functions, JSX props, and custom hooks to write cleaner code.
A technical guide on creating a TypeScript-wrapped React useState hook for implementing a dark mode feature in applications.
Introduces TaskRunner, a React state management pattern as an alternative to Redux/useReducer, enabling async actions and centralized logic.
Learn how to enable AMP (Accelerated Mobile Pages) in Next.js projects, including AMP-only and hybrid modes with the useAmp hook.
A technical guide explaining the React Children prop, its behavior, and how to use the React.Children utility methods effectively.