React Documentation
The library for web and native user interfaces.
What is React?
React is a JavaScript library for building user interfaces from components. Its declarative model, hooks, and one-way data flow make it the most widely deployed frontend library in the world.
Smart Stack indexes the official React documentation and keeps it current, so you can search it directly or ask questions in plain language. Because answers are grounded in the real pages — not a model's training data — you get correct, version-aware APIs instead of plausible-looking guesses.
$ smart-stack ask
Ask anything about React
Get an answer grounded in the official React docs — and add the rest of your stack for integration-aware help.
>How do I get started with React?
Ask Smart StackWorks well with React
Add these alongside React for answers that understand how the pieces fit together.
Next.js
v15.1.0The React framework for the web.
Remix
v2.15.0Build better websites with web standards.
TanStack Query
v5.62.0Powerful asynchronous state management for the web.
Tailwind CSS
v4.0.0A utility-first CSS framework for rapid UI development.
Vite
v6.0.0Next-generation frontend tooling.
Vue
v3.5.0The progressive JavaScript framework.