React
Answer: Library notes on the React UI library: props, state, effects, and the other core patterns already covered in the catalog.
This hub is for React the UI library, not for the ReAct prompting paper (Reasoning and Acting). The paper lives with the other reference notes and is not listed here.
Notes in this group were written from react.dev (CC BY 4.0). A Phase C table already maps several state patterns, and react-props also has a code illustration and a schema in /library/artifacts/.
Project notes
- React components: reusable UI functions (react-components-basics)
- Conditional rendering in React (react-conditional-rendering)
- Passing data deeply with context in React (react-context)
- Custom Hooks reuse stateful logic (react-custom-hooks)
- React Effects and useEffect (react-effects)
- Sharing state by lifting it to a common parent (react-lifting-state)
- Passing props between React components (react-props)
- Keeping React components pure (react-pure-components)
- React refs and useRef (react-refs)
- Rendering lists and keys in React (react-rendering-lists)
- React state and useState (react-state)
- Managing complex state with useReducer (react-usereducer)
- When you might not need an Effect (react-when-not-to-use-effect)
- JSX in TypeScript (typescript-jsx)
Main claims on these notes
- react-components-basics: Components are reusable UI elements.
- react-conditional-rendering: Components often render different UI by condition.
- react-context: Context reaches any depth without props.
- react-custom-hooks: Built-in Hooks include useState and useEffect.
- react-effects: Effects run code after rendering to synchronize with outside systems.
- react-lifting-state: Some UIs need two components to change together.
- react-props: Components communicate through props.
- react-pure-components: Pure functions only calculate.
Atlas topics grouped here
- branching in jsx
- events as props
- jsx modes
- react context
- react custom hooks
- react effects
- react lifting state
- react props
- react pure components
- react refs
- react rendering lists
- react state
- react usereducer
- typescript jsx
- when props get awkward
Related hubs
What links here
No other notes link to the notes on this hub yet.
For language models and agents: start at /llms.txt. This page in Markdown: /library/topics/react.md.