DEV Community

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.
Counting days between two dates in JavaScript without off-by-one bugs

Counting days between two dates in JavaScript without off-by-one bugs

Comments
5 min read
Building a small web app to last: the future of CountMyDays

Building a small web app to last: the future of CountMyDays

1
Comments
5 min read
Our React App Worked Perfectly—Until Someone Closed Their Laptop

Our React App Worked Perfectly—Until Someone Closed Their Laptop

1
Comments
10 min read
I Built a Real-Time PWA Where Couples Grow a Plant by Drinking Water

I Built a Real-Time PWA Where Couples Grow a Plant by Drinking Water

Comments
10 min read
I asked Claude to explain an API request as a tiny machine

I asked Claude to explain an API request as a tiny machine

14
Comments 2
2 min read
Google saw 1 word on my Next.js homepage. A Suspense boundary was hiding everything else.

Google saw 1 word on my Next.js homepage. A Suspense boundary was hiding everything else.

Comments
3 min read
Build a 'days since' streak counter in React with localStorage (that survives midnight, DST and bad data)

Build a 'days since' streak counter in React with localStorage (that survives midnight, DST and bad data)

1
Comments
5 min read
AI-built waitlist forms in Next.js 16: 6 traps to check before launch (and the prompts that fix them)

AI-built waitlist forms in Next.js 16: 6 traps to check before launch (and the prompts that fix them)

Comments 1
7 min read
5 Things AI Cannot Do at React Native

5 Things AI Cannot Do at React Native

6
Comments
9 min read
I built a desktop pet that floats over every window — using the Document Picture-in-Picture API

I built a desktop pet that floats over every window — using the Document Picture-in-Picture API

Comments
3 min read
useDebouncedCallback: Debounce Without the Stale Closure

useDebouncedCallback: Debounce Without the Stale Closure

1
Comments
9 min read
Refresh a React Route on S3 + CloudFront and Get AccessDenied? Fix It Without Hiding Your API 404s

Refresh a React Route on S3 + CloudFront and Get AccessDenied? Fix It Without Hiding Your API 404s

Comments
9 min read
Lazy Loading in React

Lazy Loading in React

Comments
3 min read
How I Used AI Agents and Site Audits to Optimize My React Developer Portfolio

How I Used AI Agents and Site Audits to Optimize My React Developer Portfolio

Comments
4 min read
How I built a countdown & days-since tracker with React 19, Supabase and Vercel

How I built a countdown & days-since tracker with React 19, Supabase and Vercel

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