1
What is React must be in scope??
source link: https://dev.to/johnbabu021/what-is-react-must-be-in-scope-56fd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
john
Posted on Jan 15
What is React must be in scope??
what is the use of import React from 'react'
Every React component is compiled into React.createElement('tagName',{props},value)
if React is not imported then it will show an error 'React must be in scope'
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK