React Docs
Beta
HomeLearnAPI
  • Installation
    • Start a New React Project
    • Add React to a Website
    • Editor Setup
    • React Developer Tools
  • Quick Start
    • Thinking in React
  • Describing the UI
    • Your First Component
    • Importing and Exporting Components
    • Writing Markup with JSX
    • JavaScript in JSX with Curly Braces
    • Passing Props to a Component
    • Conditional Rendering
    • Rendering Lists
    • Keeping Components Pure
  • Adding Interactivity
    • Responding to Events
    • State: A Component's Memory
    • Render and Commit
    • State as a Snapshot
    • Queueing a Series of State Updates
    • Updating Objects in State
    • Updating Arrays in State
  • Managing State
    • Reacting to Input with State
    • Choosing the State Structure
    • Sharing State Between Components
    • Preserving and Resetting State
    • Extracting State Logic into a Reducer
    • Passing Data Deeply with Context
    • Scaling Up with Reducer and Context
  • Escape Hatches
    • Referencing Values with Refs
    • Manipulating the DOM with Refs
Learn React

Escape Hatches

Advanced

This chapter is incomplete and is still being written!

PreviousScaling Up with Reducer and ContextNextReferencing Values with Refs

Open Source
©2021
Learn React
Quick Start
Installation
Describing the UI
Adding Interactivity
Managing State
Escape Hatches
API Reference
React APIs
React DOM APIs
Community
Code of Conduct
Acknowledgements
Meet the Team
More
React Native
Privacy
Terms