Put in order · JavaScript and React course · Module 1: React Basics
ReactDOM import
Arrange the correct import syntax for the ReactDOM library for browser rendering:
Items to put in order
- ReactDOM
- from
- 'react-dom/client'
- import
Show the answer
Correct order:
- import
- ReactDOM
- from
- 'react-dom/client'