Fixed Error - React must be in scope when using JSX react/react-in-jsx-scope
👤 By edwin | 📆
I am getting this error on my IONIC REACT App:
'React' must be in scope when using JSX react/react-in-jsx-scope
How do you fix it. simple, you need to import react at the top of the page:
import React from 'react';