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.
Building a Dynamic Pricing Page Inspired by Resend: A Deep Dive
Cover image for Building a Dynamic Pricing Page Inspired by Resend: A Deep Dive

Building a Dynamic Pricing Page Inspired by Resend: A Deep Dive

Comments
2 min read
Understanding `children` vs `element` in React Router’s `createBrowserRouter` (with Protected Routes)

Understanding `children` vs `element` in React Router’s `createBrowserRouter` (with Protected Routes)

Comments 1
3 min read
My Battle Tested React Hooks Are Now Open Source

My Battle Tested React Hooks Are Now Open Source

4
Comments 3
4 min read
🔥 Why Most React Apps are DOOMED To Lag — And How To Fix It With useDeferredValue
Cover image for 🔥 Why Most React Apps are DOOMED To Lag — And How To Fix It With useDeferredValue

🔥 Why Most React Apps are DOOMED To Lag — And How To Fix It With useDeferredValue

Comments
3 min read
React Context: The Magic Portal for Your App's Data ⛩️✨
Cover image for React Context: The Magic Portal for Your App's Data ⛩️✨

React Context: The Magic Portal for Your App's Data ⛩️✨

3
Comments
3 min read
React's Key Prop Isn't About Lists - It's About Component Identity (And That Changes Everything)
Cover image for React's Key Prop Isn't About Lists - It's About Component Identity (And That Changes Everything)

React's Key Prop Isn't About Lists - It's About Component Identity (And That Changes Everything)

Comments
3 min read
How I Survived Building Auto-Translate in Strapi v5 (and the Loops That Haunted Me)
Cover image for How I Survived Building Auto-Translate in Strapi v5 (and the Loops That Haunted Me)

How I Survived Building Auto-Translate in Strapi v5 (and the Loops That Haunted Me)

Comments
5 min read
How to Govern Your Personal AI: User Controls That Prevent Abuse

How to Govern Your Personal AI: User Controls That Prevent Abuse

Comments
11 min read
React Introduction

React Introduction

3
Comments
1 min read
Updating But Not Reflecting!? React’s Common State 'Stale Closure' Pitfall

Updating But Not Reflecting!? React’s Common State 'Stale Closure' Pitfall

1
Comments
3 min read
React vs Next.js: When to Use Which?
Cover image for React vs Next.js: When to Use Which?

React vs Next.js: When to Use Which?

2
Comments
2 min read
Why React dynamic import file (~3.7 KB) take 650 ms on first load but only 45 ms on refresh with AWS S3 + CloudFront?

Why React dynamic import file (~3.7 KB) take 650 ms on first load but only 45 ms on refresh with AWS S3 + CloudFront?

Comments
2 min read
My React Journey: Day 2- Create a component and use expression in template

My React Journey: Day 2- Create a component and use expression in template

1
Comments
2 min read
Stop Waiting for APIs: Unlock Instant Speed with React's Optimistic Updates
Cover image for Stop Waiting for APIs: Unlock Instant Speed with React's Optimistic Updates

Stop Waiting for APIs: Unlock Instant Speed with React's Optimistic Updates

2
Comments
2 min read
The Complete Guide to React Hooks (2025)
Cover image for The Complete Guide to React Hooks (2025)

The Complete Guide to React Hooks (2025)

4
Comments 1
5 min read
SEO with React and Next.js: What Developers Must Know
Cover image for SEO with React and Next.js: What Developers Must Know

SEO with React and Next.js: What Developers Must Know

1
Comments 1
2 min read
React: Building an Independent Modal with createRoot
Cover image for React: Building an Independent Modal with createRoot

React: Building an Independent Modal with createRoot

3
Comments
3 min read
🔥 Stop Writing Boilerplate in React: Unlock the Hidden Power of Formik with Yup & Custom Hooks!
Cover image for 🔥 Stop Writing Boilerplate in React: Unlock the Hidden Power of Formik with Yup & Custom Hooks!

🔥 Stop Writing Boilerplate in React: Unlock the Hidden Power of Formik with Yup & Custom Hooks!

Comments
4 min read
Bot or Not: Can You Spot the AI? 🎨
Cover image for Bot or Not: Can You Spot the AI? 🎨

Bot or Not: Can You Spot the AI? 🎨

31
Comments 6
2 min read
EIS: A Tiny, Framework-Agnostic State Store for the Web

EIS: A Tiny, Framework-Agnostic State Store for the Web

Comments
2 min read
How to programmatically insert text into a Slate.js contenteditable so it registers as user input?

How to programmatically insert text into a Slate.js contenteditable so it registers as user input?

1
Comments 1
2 min read
Components in React

Components in React

4
Comments
1 min read
Why We'll Write Every Feature Atleast Twice
Cover image for Why We'll Write Every Feature Atleast Twice

Why We'll Write Every Feature Atleast Twice

1
Comments 1
4 min read
Portfolio Relaunch — React, Vite, and MDX
Cover image for Portfolio Relaunch — React, Vite, and MDX

Portfolio Relaunch — React, Vite, and MDX

Comments
1 min read
My Java Full Stack Journey Learning (.JS & .JSX) in React JS

My Java Full Stack Journey Learning (.JS & .JSX) in React JS

2
Comments
1 min read
loading...