neerajadhav/ReactFakeShop

React must be in scope when using JSX react/react-in-jsx-scope

Closed this issue · 1 comments

There might be an error in App.js as you have not imported React

react

Starting from React 17 it's not necessary to import React to use JSX.
Because the new JSX transform will automatically import the necessary react/jsx-runtime functions, React will no longer need to be in scope when you use JSX.

Try to update your React version