Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hph/babili-bug-reproduction
Reproduction for Babili issue #592
https://github.com/hph/babili-bug-reproduction
Last synced: about 1 month ago
JSON representation
Reproduction for Babili issue #592
- Host: GitHub
- URL: https://github.com/hph/babili-bug-reproduction
- Owner: hph
- Created: 2017-06-20T18:51:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T20:35:57.000Z (over 7 years ago)
- Last Synced: 2024-10-28T03:42:05.648Z (3 months ago)
- Language: JavaScript
- Homepage: https://github.com/babel/babili/issues/592
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UPDATE: Issue resolved by updating dependencies
# Info
I ran into a weird bug when compiling React in production with Babili, in what
appears to be a runtime error in the React library, but there's no error using
their minified build directly. This repo reproduces the bug and also shows a
way of working around the issue, in the hopes of finding the source and getting
it fixed. The bug in question happens in event handlers:```
Uncaught TypeError: e.isPersistent is not a function
```# Setup
- Fetch the code & run `yarn`.
- To reproduce the problem, run `yarn build`, open `build/index.html` and the
developer tools console. On clicking the button you will get the error
mentioned above.
- To run the build with the workaround, run `yarn build-with-workaround` and
follow the same steps - there shouldn't be any error logged to the console.