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'
For further actions, you may consider blocking this person and/or reporting abuse
David Morrow -
Lars-Erik Bruce -
Notarena -
sunny -
Top comments (1)
Sorry i forget to mention about Eslint
Thanks for the comment