Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guyca/babel-decorators-static-fields-repro
A reproduction for a configuration issue when using stage 3 decorators and static class fields
https://github.com/guyca/babel-decorators-static-fields-repro
Last synced: 16 days ago
JSON representation
A reproduction for a configuration issue when using stage 3 decorators and static class fields
- Host: GitHub
- URL: https://github.com/guyca/babel-decorators-static-fields-repro
- Owner: guyca
- Created: 2024-10-21T17:02:12.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-21T17:28:00.000Z (4 months ago)
- Last Synced: 2024-11-28T02:57:21.889Z (3 months ago)
- Language: TypeScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# babel-decorators-static-fields-repro
This repository is a reproduction of a configuration issue with Babel and TypeScript decorators. Combining decorators with static fields and `metro-react-native-babel-preset` causes a runtime error: `TypeError: _initClass is not a function`
## Steps to reproduce
1. Clone this repository
2. Run `yarn install`
3. Run `yarn build`
4. Run `yarn start`## Possible related issues
1. https://github.com/babel/babel/issues/16373