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.
Build Your Own Infinite Carousel in React (with a Custom Hook)❗

Build Your Own Infinite Carousel in React (with a Custom Hook)❗

34
Comments 16
3 min read
ReAct: Turning Language Models from Parrots to Problem-Solver
Cover image for ReAct: Turning Language Models from Parrots to Problem-Solver

ReAct: Turning Language Models from Parrots to Problem-Solver

Comments
8 min read
The Smarter Way to Code: Stop Copy-Pasting and Start Reusing
Cover image for The Smarter Way to Code: Stop Copy-Pasting and Start Reusing

The Smarter Way to Code: Stop Copy-Pasting and Start Reusing

Comments
4 min read
React Router Like a Pro: A Reusable `useRouteNav` Hook + Button Click Navigation (TypeScript)

React Router Like a Pro: A Reusable `useRouteNav` Hook + Button Click Navigation (TypeScript)

Comments
4 min read
React - Components and props

React - Components and props

Comments
1 min read
Using Effects Effectively in React: Stop Misusing useEffect Once and For All
Cover image for Using Effects Effectively in React: Stop Misusing useEffect Once and For All

Using Effects Effectively in React: Stop Misusing useEffect Once and For All

10
Comments
7 min read
Bad things might happen if you ignore this
Cover image for Bad things might happen if you ignore this

Bad things might happen if you ignore this

3
Comments 2
3 min read
🏗️ Backend for Frontend (BFF) — The Missing Layer Every Frontend Developer Should Know

🏗️ Backend for Frontend (BFF) — The Missing Layer Every Frontend Developer Should Know

1
Comments
4 min read
React Router: Navigate on Button Click with createBrowserRouter (TypeScript, Pro Patterns)

React Router: Navigate on Button Click with createBrowserRouter (TypeScript, Pro Patterns)

Comments
4 min read
How to Safely Use `dangerouslySetInnerHTML` in React Applications

How to Safely Use `dangerouslySetInnerHTML` in React Applications

Comments
2 min read
Criando uma Ferramenta de Comparação de Preços com o SerpApi

Criando uma Ferramenta de Comparação de Preços com o SerpApi

Comments 1
3 min read
Composability in Component Architecture: Lessons from React, Radix UI, and Beyond
Cover image for Composability in Component Architecture: Lessons from React, Radix UI, and Beyond

Composability in Component Architecture: Lessons from React, Radix UI, and Beyond

Comments
3 min read
Today I Learned: Layouts and the Z-Index Trap in React

Today I Learned: Layouts and the Z-Index Trap in React

1
Comments 2
2 min read
Building Scalable Web Apps in 2025: React, TypeScript, and Pragmatic Infrastructure
Cover image for Building Scalable Web Apps in 2025: React, TypeScript, and Pragmatic Infrastructure

Building Scalable Web Apps in 2025: React, TypeScript, and Pragmatic Infrastructure

Comments
3 min read
Rendering Strategies in Next.js: CSR, SSR, SSG, ISR Explained

Rendering Strategies in Next.js: CSR, SSR, SSG, ISR Explained

Comments
2 min read
Global state management in React apps

Global state management in React apps

10
Comments 5
2 min read
The Hidden Performance Costs of React Server Components
Cover image for The Hidden Performance Costs of React Server Components

The Hidden Performance Costs of React Server Components

Comments
4 min read
React Native CLI vs Expo CLI: Clearing Up Misconceptions
Cover image for React Native CLI vs Expo CLI: Clearing Up Misconceptions

React Native CLI vs Expo CLI: Clearing Up Misconceptions

1
Comments
3 min read
React Data Grid Lite v1.2.4: Now with RTL Support + Full Virtualization!

React Data Grid Lite v1.2.4: Now with RTL Support + Full Virtualization!

Comments
2 min read
TanStack Router: Go to Previous page after Sign In
Cover image for TanStack Router: Go to Previous page after Sign In

TanStack Router: Go to Previous page after Sign In

8
Comments
4 min read
7 React Tips That Will Make You a Better Developer

7 React Tips That Will Make You a Better Developer

1
Comments
1 min read
Advanced State Management with URL Search Parameters

Advanced State Management with URL Search Parameters

Comments
2 min read
React useRef vs useState — When to Use Which

React useRef vs useState — When to Use Which

2
Comments
2 min read
When Should You Use Dynamic Import in React/Next.js? (With Performance Comparison)

When Should You Use Dynamic Import in React/Next.js? (With Performance Comparison)

1
Comments 2
2 min read
Build a Docs‑Aware Chatbot with React, Vite, Node, and OpenAI (plus fun DALL·E avatars)
Cover image for Build a Docs‑Aware Chatbot with React, Vite, Node, and OpenAI (plus fun DALL·E avatars)

Build a Docs‑Aware Chatbot with React, Vite, Node, and OpenAI (plus fun DALL·E avatars)

6
Comments 1
6 min read
loading...