Answers for "failed to compile ./src/app.js line 8: 'react' must be in scope when using jsx react/react-in-jsx-scope line 9: 'react' must be in scope when using jsx react/react-in-jsx-scope line 10: 'react' must be in scope when using jsx react/react-in-jsx-scope"

13

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

// This line should be there as shows
import React, { Component }  from 'react';
Posted by: Guest on August-26-2020

Code answers related to "failed to compile ./src/app.js line 8: 'react' must be in scope when using jsx react/react-in-jsx-scope line 9: 'react' must be in scope when using jsx react/react-in-jsx-scope line 10: 'react' must be in scope when using jsx react/react-in-jsx-scope"

Code answers related to "Javascript"

Browse Popular Code Answers by Language