Forem

React

Official tag for Facebook's React JavaScript library for building user interfaces

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Server-Sent Events (SSE)

Server-Sent Events (SSE)

Comments
2 min read
How to Optimize the Performance of Your React Website
Cover image for How to Optimize the Performance of Your React Website

How to Optimize the Performance of Your React Website

25
Comments
4 min read
Next.js ⚡ + Zustand 🐻: A Production-Grade File Structure for Scalable State Management
Cover image for Next.js ⚡ + Zustand 🐻: A Production-Grade File Structure for Scalable State Management

Next.js ⚡ + Zustand 🐻: A Production-Grade File Structure for Scalable State Management

1
Comments 1
5 min read
“When Not to Use useMemo, useCallback, and useReducer in React”
Cover image for “When Not to Use useMemo, useCallback, and useReducer in React”

“When Not to Use useMemo, useCallback, and useReducer in React”

Comments
2 min read
Understanding `'PropsWithChildren'` and `verbatimModuleSyntax` in React + TypeScript 5

Understanding `'PropsWithChildren'` and `verbatimModuleSyntax` in React + TypeScript 5

1
Comments 2
4 min read
Mastering Vitest + React Testing Library: Fixing ‘beforeEach’, ‘toBeInTheDocument’, and JSDOM Gotchas

Mastering Vitest + React Testing Library: Fixing ‘beforeEach’, ‘toBeInTheDocument’, and JSDOM Gotchas

3
Comments
4 min read
Understanding Event Delegation in React: Before & After

Understanding Event Delegation in React: Before & After

Comments
2 min read
Tired of TypeScript? Why ReScript Finally Clicked for Me (Narrative)

Tired of TypeScript? Why ReScript Finally Clicked for Me (Narrative)

5
Comments 1
3 min read
ReScript in 2025 — Fast, Sound, and Ready for React (Hybrid Guide)

ReScript in 2025 — Fast, Sound, and Ready for React (Hybrid Guide)

5
Comments
2 min read
How React’s useState Really Works — A Simple Explanation from First Principles

How React’s useState Really Works — A Simple Explanation from First Principles

1
Comments 1
3 min read
⚡React useEffect Hook — Side Effects Made Simple

⚡React useEffect Hook — Side Effects Made Simple

1
Comments
1 min read
From Engineering Competitions to SaaS: How I Built Viz-CAD Without a Marketing Budget
Cover image for From Engineering Competitions to SaaS: How I Built Viz-CAD Without a Marketing Budget

From Engineering Competitions to SaaS: How I Built Viz-CAD Without a Marketing Budget

Comments
3 min read
Rendering Patterns in Next.js: CSR, SSR, SSG, ISR, RSC, PPR, and DPR
Cover image for Rendering Patterns in Next.js: CSR, SSR, SSG, ISR, RSC, PPR, and DPR

Rendering Patterns in Next.js: CSR, SSR, SSG, ISR, RSC, PPR, and DPR

4
Comments
7 min read
Building Reusable React Card Components with Styled Components
Cover image for Building Reusable React Card Components with Styled Components

Building Reusable React Card Components with Styled Components

3
Comments 1
2 min read
🌍 My Journey with React Leaflet: Learning to Build an Interactive Map

🌍 My Journey with React Leaflet: Learning to Build an Interactive Map

1
Comments 2
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.