Tag: react
All the articles with the tag "react".
Tech Watch Posts
Why use Immer for state updates?
Published: at 03:53 PMLearn why immutable state updates matter in React, how they improve performance through reference comparison, and how Immer makes complex state management intuitive and efficient.
React "as" Prop Using TypeScript
Published: at 02:08 PMLearn how to type the "as" prop in React to dynamically change the rendered HTML tag.
useDebounceCallback hook explained
Published: at 02:29 PMLearn how React's useDebounceCallback hook works with a deep dive into JavaScript closures, timeouts, and the callback ref pattern. Perfect for React developers looking to master debouncing.
Single Responsibility Principle in React: The Art of Component Focus
Published: at 10:39 AMLearn how to apply the Single Responsibility Principle in React components. A practical guide to writing cleaner, more maintainable code using SOLID principles and component composition.
How to build a library in React
Published: at 10:24 AMIntroduction I built a library that adds selectors to React's context: React Context Selector. This was a follow up to my blog post where I dive into problems with Context. I concluded that they're just missing selectors. Otherwise, it's all good.
Why are React Server Components actually beneficial? (full history)
Published: at 02:23 PMDeep dive into why React Server Components matter by exploring the evolution from SPAs to SSR. Understand the core problems they solve and how they fundamentally change React applications.
How React's Render, Effects and Refs work under the hood
Published: at 02:14 PMDiscover how React's render cycle, effects, and refs actually work under the hood. A clear, practical guide to understanding React's internals and writing more efficient code.
Was React Context a mistake?
Published: at 02:00 PMExplore whether React Context was a design mistake, understand its performance implications with re-renders, and learn practical solutions including smaller contexts and alternative state management approaches.
Bloated React code? Try component hooks
Published: at 01:53 PMLearn how to declutter your React components by separating logic from presentation using component hooks. A practical guide to writing cleaner, more maintainable React code with real-world examples.
Become expert in React Query
Published: at 08:48 AMTake your React Query knowledge to the next level.