We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a short description of the issue here ↓
Get this error:
Uncaught ReferenceError: React is not defined
When trying to import a React Component into index and trying to import that index inside a page
. ├── ... ├── components │ ├── ProductsCard │ ├── index.tsx │ └── ProductsCard.tsx └── ...
What do you think should happen?
Should be able to compile correctly
What actually happens?
ProductsCard
import * from './ProductsCard'
import {ProductsCard} from 'frontend/components/ProductsCart'
pages/index.tsx
The best way to get your bug fixed is to provide a reduced test case.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue summary
Write a short description of the issue here ↓
Get this error:
When trying to import a React Component into index and trying to import that index inside a page
Expected behavior
What do you think should happen?
Should be able to compile correctly
Actual behavior
What actually happens?
Steps to reproduce the problem
ProductsCard
for exampleimport * from './ProductsCard'
import {ProductsCard} from 'frontend/components/ProductsCart'
insidepages/index.tsx
Uncaught ReferenceError: React is not defined
Reduced test case
The best way to get your bug fixed is to provide a reduced test case.
Specifications
The text was updated successfully, but these errors were encountered: