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