You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in import React from 'react';, the name of React cannot be changed. Changing to other values will result 'React' must be in scope when using JSX
Why?
The text was updated successfully, but these errors were encountered:
This is the best explanation
https://stackoverflow.com/questions/36795819/when-should-i-use-curly-braces-for-es6-import
But in
import React from 'react';
, the name of React cannot be changed. Changing to other values will result'React' must be in scope when using JSX
Why?
The text was updated successfully, but these errors were encountered: