Skip to content

Glossary: React Basics

react and react-dom packages

Also written: react, react-dom, react-dom/client

React comes as two packages: `react` holds the parts for writing components, such as `useState`, and `react-dom` puts components on a web page.

Where the book teaches it

Related terms

Root (createRoot)