Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhch/react-microbundle-test
https://github.com/bhch/react-microbundle-test
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bhch/react-microbundle-test
- Owner: bhch
- Created: 2022-07-26T07:11:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-12T04:15:46.000Z (about 2 years ago)
- Last Synced: 2024-10-19T10:25:06.611Z (about 1 month ago)
- Language: HTML
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react microbundle test
Repo for reproducing these React build errors:
- `Uncaught TypeError: React__default.default is undefined` (uncompressed builds)
- `Uncaught TypeError: r.default is undefined` (compressed builds)
## Usage1. Clone repo
2. Run `npm install`
3. Run `npm run dev`
4. Open `index.html` in your browser
5. Check dev console for errors
If you open `src/index.js` and comment out the top two `import` statements, then the errors are gone.