React must be in scope when using JSX react/react-in-jsx-scope
Closed this issue · 1 comments
sanketshivale commented
neerajadhav commented
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