TypeScript + React: Typing Generic forwardRefs
A technical guide on how to correctly type generic React components that use forwardRef in TypeScript for enhanced type safety.
A technical guide on how to correctly type generic React components that use forwardRef in TypeScript for enhanced type safety.
A guide to best practices for using Styled Components in React, covering team alignment and code organization.
SolidJS is a frontend framework combining React's familiar syntax with Svelte's compilation approach for better performance and smaller bundles.
A guide to fixing the common React error 'Cannot read property of undefined', covering how to read stack traces and properly initialize state.
A guide to using Jotai, a minimalist state management library for React, covering atoms and derived state.
Explains how to conditionally call React hooks by using a renderless component pattern, a useful technique for React developers.
A comprehensive 2021 list of CSS frameworks and component libraries for major JavaScript frameworks like Angular, React, Vue, and Svelte.
A guide to React state management libraries, explaining core concepts and helping developers choose the right tool for their project.
A developer shares insights from a talk on Storybook, a tool for building and documenting UI components in isolation, including live coding examples.
Explains why useMemo isn't reliable for one-time React initializations and demonstrates the correct useState pattern for stable resource creation.
A guide to using React Context effectively, covering its purpose, creation, and best practices to avoid common pitfalls.
A developer shares their quick experience migrating a medium-sized React app to Preact using Vite in under 10 minutes.
A web developer shares a personal list of technologies and skills, including React, TailwindCSS, and English, they aim to learn in 2021 to advance their career.
A guide on writing React components in TypeScript, covering prop typing and avoiding common pitfalls like React.FC.
A tutorial explaining the React useRef() hook, covering mutable values and DOM element access in three practical steps.
A guide to optimizing React context value for performance, recommending state/dispatch separation and warning against premature optimization.
Explains why boolean function parameters are often a code smell and suggests better design alternatives.
React performance tips: two techniques to optimize re-renders before using memo() or useMemo().
Explains a TypeScript type inference issue when custom React hooks return arrays and provides two solutions using tuples or 'as const'.
A concise guide to learning Next.js, covering its core concepts, features, and setup in a tweet-thread format.