Skip to content

Conversation

rajeshkusuma
Copy link

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

So added the import statement
import React, { Component } from "react";

to fix the error

got the following error in files: WithParams.jsx and WithNavigation.jsx
'React' must be in scope when using JSX react/react-in-jsx-scope?
Update react-6-02-after-refactoring.md
@in28minutes
Copy link
Owner

in28minutes commented Feb 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants