Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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