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:

  1. import
  2. ReactDOM
  3. from
  4. 'react-dom/client'