Is react.dev your site? LLMs Ledger listed this site because it publishes a public llms.txt file; the owner hasn't claimed it yet. Claim it free and keep daily monitoring with alerts when your file changes or breaks, at no cost. Claim this listing

React Documentation

react.dev (opens in a new tab)
Checked nightly

The library for web and native user interfaces.

Files

llms.txt · 252 lines
  1. # React Documentation
  2. > The library for web and native user interfaces.
  3. ## Learn React
  4. ### GET STARTED
  5. #### Quick Start
  6. - [Quick Start](https://react.dev/learn.md)
  7. - [Tutorial: Tic-Tac-Toe](https://react.dev/learn/tutorial-tic-tac-toe.md)
  8. - [Thinking in React](https://react.dev/learn/thinking-in-react.md)
  9. #### Installation
  10. - [Installation](https://react.dev/learn/installation.md)
  11. - [Creating a React App](https://react.dev/learn/creating-a-react-app.md)
  12. - [Build a React App from Scratch](https://react.dev/learn/build-a-react-app-from-scratch.md)
  13. - [Add React to an Existing Project](https://react.dev/learn/add-react-to-an-existing-project.md)
  14. #### Setup
  15. - [Setup](https://react.dev/learn/setup.md)
  16. - [Editor Setup](https://react.dev/learn/editor-setup.md)
  17. - [Using TypeScript](https://react.dev/learn/typescript.md)
  18. - [React Developer Tools](https://react.dev/learn/react-developer-tools.md)
  19. #### React Compiler
  20. - [React Compiler](https://react.dev/learn/react-compiler.md)
  21. - [Introduction](https://react.dev/learn/react-compiler/introduction.md)
  22. - [Installation](https://react.dev/learn/react-compiler/installation.md)
  23. - [Incremental Adoption](https://react.dev/learn/react-compiler/incremental-adoption.md)
  24. - [Debugging and Troubleshooting](https://react.dev/learn/react-compiler/debugging.md)
  25. ### LEARN REACT
  26. #### Describing the UI
  27. - [Describing the UI](https://react.dev/learn/describing-the-ui.md)
  28. - [Your First Component](https://react.dev/learn/your-first-component.md)
  29. - [Importing and Exporting Components](https://react.dev/learn/importing-and-exporting-components.md)
  30. - [Writing Markup with JSX](https://react.dev/learn/writing-markup-with-jsx.md)
  31. - [JavaScript in JSX with Curly Braces](https://react.dev/learn/javascript-in-jsx-with-curly-braces.md)
  32. - [Passing Props to a Component](https://react.dev/learn/passing-props-to-a-component.md)
  33. - [Conditional Rendering](https://react.dev/learn/conditional-rendering.md)
  34. - [Rendering Lists](https://react.dev/learn/rendering-lists.md)
  35. - [Keeping Components Pure](https://react.dev/learn/keeping-components-pure.md)
  36. - [Your UI as a Tree](https://react.dev/learn/understanding-your-ui-as-a-tree.md)
  37. #### Adding Interactivity
  38. - [Adding Interactivity](https://react.dev/learn/adding-interactivity.md)
  39. - [Responding to Events](https://react.dev/learn/responding-to-events.md)
  40. - [State: A Component's Memory](https://react.dev/learn/state-a-components-memory.md)
  41. - [Render and Commit](https://react.dev/learn/render-and-commit.md)
  42. - [State as a Snapshot](https://react.dev/learn/state-as-a-snapshot.md)
  43. - [Queueing a Series of State Updates](https://react.dev/learn/queueing-a-series-of-state-updates.md)
  44. - [Updating Objects in State](https://react.dev/learn/updating-objects-in-state.md)
  45. - [Updating Arrays in State](https://react.dev/learn/updating-arrays-in-state.md)
  46. #### Managing State
  47. - [Managing State](https://react.dev/learn/managing-state.md)
  48. - [Reacting to Input with State](https://react.dev/learn/reacting-to-input-with-state.md)
  49. - [Choosing the State Structure](https://react.dev/learn/choosing-the-state-structure.md)
  50. - [Sharing State Between Components](https://react.dev/learn/sharing-state-between-components.md)
  51. - [Preserving and Resetting State](https://react.dev/learn/preserving-and-resetting-state.md)
  52. - [Extracting State Logic into a Reducer](https://react.dev/learn/extracting-state-logic-into-a-reducer.md)
  53. - [Passing Data Deeply with Context](https://react.dev/learn/passing-data-deeply-with-context.md)
  54. - [Scaling Up with Reducer and Context](https://react.dev/learn/scaling-up-with-reducer-and-context.md)
  55. #### Escape Hatches
  56. - [Escape Hatches](https://react.dev/learn/escape-hatches.md)
  57. - [Referencing Values with Refs](https://react.dev/learn/referencing-values-with-refs.md)
  58. - [Manipulating the DOM with Refs](https://react.dev/learn/manipulating-the-dom-with-refs.md)
  59. - [Synchronizing with Effects](https://react.dev/learn/synchronizing-with-effects.md)
  60. - [You Might Not Need an Effect](https://react.dev/learn/you-might-not-need-an-effect.md)
  61. - [Lifecycle of Reactive Effects](https://react.dev/learn/lifecycle-of-reactive-effects.md)
  62. - [Separating Events from Effects](https://react.dev/learn/separating-events-from-effects.md)
  63. - [Removing Effect Dependencies](https://react.dev/learn/removing-effect-dependencies.md)
  64. - [Reusing Logic with Custom Hooks](https://react.dev/learn/reusing-logic-with-custom-hooks.md)
  65. ## API Reference
  66. ### React
  67. - [Overview](https://react.dev/reference/react.md)
  68. #### Hooks
  69. - [Hooks](https://react.dev/reference/react/hooks.md)
  70. - [useActionState](https://react.dev/reference/react/useActionState.md)
  71. - [useCallback](https://react.dev/reference/react/useCallback.md)
  72. - [useContext](https://react.dev/reference/react/useContext.md)
  73. - [useDebugValue](https://react.dev/reference/react/useDebugValue.md)
  74. - [useDeferredValue](https://react.dev/reference/react/useDeferredValue.md)
  75. - [useEffect](https://react.dev/reference/react/useEffect.md)
  76. - [useEffectEvent](https://react.dev/reference/react/useEffectEvent.md)
  77. - [useId](https://react.dev/reference/react/useId.md)
  78. - [useImperativeHandle](https://react.dev/reference/react/useImperativeHandle.md)
  79. - [useInsertionEffect](https://react.dev/reference/react/useInsertionEffect.md)
  80. - [useLayoutEffect](https://react.dev/reference/react/useLayoutEffect.md)
  81. - [useMemo](https://react.dev/reference/react/useMemo.md)
  82. - [useOptimistic](https://react.dev/reference/react/useOptimistic.md)
  83. - [useReducer](https://react.dev/reference/react/useReducer.md)
  84. - [useRef](https://react.dev/reference/react/useRef.md)
  85. - [useState](https://react.dev/reference/react/useState.md)
  86. - [useSyncExternalStore](https://react.dev/reference/react/useSyncExternalStore.md)
  87. - [useTransition](https://react.dev/reference/react/useTransition.md)
  88. #### Components
  89. - [Components](https://react.dev/reference/react/components.md)
  90. - [<Fragment> (<>)](https://react.dev/reference/react/Fragment.md)
  91. - [<Profiler>](https://react.dev/reference/react/Profiler.md)
  92. - [<StrictMode>](https://react.dev/reference/react/StrictMode.md)
  93. - [<Suspense>](https://react.dev/reference/react/Suspense.md)
  94. - [<Activity>](https://react.dev/reference/react/Activity.md)
  95. - [<ViewTransition>](https://react.dev/reference/react/ViewTransition.md)
  96. #### APIs
  97. - [APIs](https://react.dev/reference/react/apis.md)
  98. - [act](https://react.dev/reference/react/act.md)
  99. - [addTransitionType](https://react.dev/reference/react/addTransitionType.md)
  100. - [cache](https://react.dev/reference/react/cache.md)
  101. - [cacheSignal](https://react.dev/reference/react/cacheSignal.md)
  102. - [captureOwnerStack](https://react.dev/reference/react/captureOwnerStack.md)
  103. - [createContext](https://react.dev/reference/react/createContext.md)
  104. - [lazy](https://react.dev/reference/react/lazy.md)
  105. - [memo](https://react.dev/reference/react/memo.md)
  106. - [startTransition](https://react.dev/reference/react/startTransition.md)
  107. - [use](https://react.dev/reference/react/use.md)
  108. - [experimental_taintObjectReference](https://react.dev/reference/react/experimental_taintObjectReference.md)
  109. - [experimental_taintUniqueValue](https://react.dev/reference/react/experimental_taintUniqueValue.md)
  110. ### React Dom
  111. #### Hooks
  112. - [Hooks](https://react.dev/reference/react-dom/hooks.md)
  113. - [useFormStatus](https://react.dev/reference/react-dom/hooks/useFormStatus.md)
  114. #### Components
  115. - [Components](https://react.dev/reference/react-dom/components.md)
  116. - [Common (e.g. <div>)](https://react.dev/reference/react-dom/components/common.md)
  117. - [<form>](https://react.dev/reference/react-dom/components/form.md)
  118. - [<input>](https://react.dev/reference/react-dom/components/input.md)
  119. - [<option>](https://react.dev/reference/react-dom/components/option.md)
  120. - [<progress>](https://react.dev/reference/react-dom/components/progress.md)
  121. - [<select>](https://react.dev/reference/react-dom/components/select.md)
  122. - [<textarea>](https://react.dev/reference/react-dom/components/textarea.md)
  123. - [<img>](https://react.dev/reference/react-dom/components/img.md)
  124. - [<link>](https://react.dev/reference/react-dom/components/link.md)
  125. - [<meta>](https://react.dev/reference/react-dom/components/meta.md)
  126. - [<script>](https://react.dev/reference/react-dom/components/script.md)
  127. - [<style>](https://react.dev/reference/react-dom/components/style.md)
  128. - [<title>](https://react.dev/reference/react-dom/components/title.md)
  129. #### APIs
  130. - [APIs](https://react.dev/reference/react-dom.md)
  131. - [browser](https://react.dev/reference/react-dom/browser.md)
  132. - [createPortal](https://react.dev/reference/react-dom/createPortal.md)
  133. - [flushSync](https://react.dev/reference/react-dom/flushSync.md)
  134. - [preconnect](https://react.dev/reference/react-dom/preconnect.md)
  135. - [prefetchDNS](https://react.dev/reference/react-dom/prefetchDNS.md)
  136. - [preinit](https://react.dev/reference/react-dom/preinit.md)
  137. - [preinitModule](https://react.dev/reference/react-dom/preinitModule.md)
  138. - [preload](https://react.dev/reference/react-dom/preload.md)
  139. - [preloadModule](https://react.dev/reference/react-dom/preloadModule.md)
  140. #### Client APIs
  141. - [Client APIs](https://react.dev/reference/react-dom/client.md)
  142. - [createRoot](https://react.dev/reference/react-dom/client/createRoot.md)
  143. - [hydrateRoot](https://react.dev/reference/react-dom/client/hydrateRoot.md)
  144. #### Server APIs
  145. - [Server APIs](https://react.dev/reference/react-dom/server.md)
  146. - [renderToPipeableStream](https://react.dev/reference/react-dom/server/renderToPipeableStream.md)
  147. - [renderToReadableStream](https://react.dev/reference/react-dom/server/renderToReadableStream.md)
  148. - [renderToStaticMarkup](https://react.dev/reference/react-dom/server/renderToStaticMarkup.md)
  149. - [renderToString](https://react.dev/reference/react-dom/server/renderToString.md)
  150. - [resume](https://react.dev/reference/react-dom/server/resume.md)
  151. - [resumeToPipeableStream](https://react.dev/reference/react-dom/server/resumeToPipeableStream.md)
  152. #### Static APIs
  153. - [Static APIs](https://react.dev/reference/react-dom/static.md)
  154. - [prerender](https://react.dev/reference/react-dom/static/prerender.md)
  155. - [prerenderToNodeStream](https://react.dev/reference/react-dom/static/prerenderToNodeStream.md)
  156. - [resumeAndPrerender](https://react.dev/reference/react-dom/static/resumeAndPrerender.md)
  157. - [resumeAndPrerenderToNodeStream](https://react.dev/reference/react-dom/static/resumeAndPrerenderToNodeStream.md)
  158. ### React Compiler
  159. - [Compiling Libraries](https://react.dev/reference/react-compiler/compiling-libraries.md)
  160. #### Configuration
  161. - [Configuration](https://react.dev/reference/react-compiler/configuration.md)
  162. - [compilationMode](https://react.dev/reference/react-compiler/compilationMode.md)
  163. - [gating](https://react.dev/reference/react-compiler/gating.md)
  164. - [logger](https://react.dev/reference/react-compiler/logger.md)
  165. - [panicThreshold](https://react.dev/reference/react-compiler/panicThreshold.md)
  166. - [target](https://react.dev/reference/react-compiler/target.md)
  167. #### Directives
  168. - [Directives](https://react.dev/reference/react-compiler/directives.md)
  169. - ["use memo"](https://react.dev/reference/react-compiler/directives/use-memo.md)
  170. - ["use no memo"](https://react.dev/reference/react-compiler/directives/use-no-memo.md)
  171. ### React DevTools
  172. - [React Performance tracks](https://react.dev/reference/dev-tools/react-performance-tracks.md)
  173. ### Eslint Plugin React Hooks
  174. #### Lints
  175. - [Lints](https://react.dev/reference/eslint-plugin-react-hooks.md)
  176. - [exhaustive-deps](https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps.md)
  177. - [rules-of-hooks](https://react.dev/reference/eslint-plugin-react-hooks/lints/rules-of-hooks.md)
  178. - [component-hook-factories](https://react.dev/reference/eslint-plugin-react-hooks/lints/component-hook-factories.md)
  179. - [config](https://react.dev/reference/eslint-plugin-react-hooks/lints/config.md)
  180. - [error-boundaries](https://react.dev/reference/eslint-plugin-react-hooks/lints/error-boundaries.md)
  181. - [gating](https://react.dev/reference/eslint-plugin-react-hooks/lints/gating.md)
  182. - [globals](https://react.dev/reference/eslint-plugin-react-hooks/lints/globals.md)
  183. - [immutability](https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability.md)
  184. - [incompatible-library](https://react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library.md)
  185. - [preserve-manual-memoization](https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization.md)
  186. - [purity](https://react.dev/reference/eslint-plugin-react-hooks/lints/purity.md)
  187. - [refs](https://react.dev/reference/eslint-plugin-react-hooks/lints/refs.md)
  188. - [set-state-in-effect](https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect.md)
  189. - [set-state-in-render](https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-render.md)
  190. - [static-components](https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components.md)
  191. - [unsupported-syntax](https://react.dev/reference/eslint-plugin-react-hooks/lints/unsupported-syntax.md)
  192. - [use-memo](https://react.dev/reference/eslint-plugin-react-hooks/lints/use-memo.md)
  193. ### Rules Of React
  194. #### Overview
  195. - [Overview](https://react.dev/reference/rules.md)
  196. - [Components and Hooks must be pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure.md)
  197. - [React calls Components and Hooks](https://react.dev/reference/rules/react-calls-components-and-hooks.md)
  198. - [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks.md)
  199. ### React Server Components
  200. - [Server Components](https://react.dev/reference/rsc/server-components.md)
  201. - [Server Functions](https://react.dev/reference/rsc/server-functions.md)
  202. #### Directives
  203. - [Directives](https://react.dev/reference/rsc/directives.md)
  204. - ['use client'](https://react.dev/reference/rsc/use-client.md)
  205. - ['use server'](https://react.dev/reference/rsc/use-server.md)
  206. ### Legacy APIs
  207. #### Legacy React APIs
  208. - [Legacy React APIs](https://react.dev/reference/react/legacy.md)
  209. - [Children](https://react.dev/reference/react/Children.md)
  210. - [cloneElement](https://react.dev/reference/react/cloneElement.md)
  211. - [Component](https://react.dev/reference/react/Component.md)
  212. - [createElement](https://react.dev/reference/react/createElement.md)
  213. - [createRef](https://react.dev/reference/react/createRef.md)
  214. - [forwardRef](https://react.dev/reference/react/forwardRef.md)
  215. - [isValidElement](https://react.dev/reference/react/isValidElement.md)
  216. - [PureComponent](https://react.dev/reference/react/PureComponent.md)

Other llms files on react.dev: its llms-full.txt and the text or Markdown files its llms.txt links to (larger sites split their full text into files like these). All 25 work.

Validation

100/100

Checked against the llms.txt format (the public guidelines for these files).

No issues found.

Category
Uncategorized
Last checked
Oct 8, 2026
Last changed
Oct 8, 2026
Links in file
179 in 2 sections

Is this your site?

We listed this site from its public llms.txt file. Claim this listing to edit it and get alerts when your file changes or breaks.

Claim this listing