expo / expo/react-native-scrollable-decorator
Invalid ES6 syntax
Open
- Dominant language
- JavaScript
- Stars
- 37
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In `scrollable.js`:
``` js
static displayName = `Scrollable(${getDisplayName(DecoratedComponent)})`;
static DecoratedComponent = DecoratedComponent;
```
But [according to this issue](https://github.com/babel/babel/issues/1059) static assignment is not valid.
I've tried using `react-native-scrollable-decorator`, and RN does indeed barf at the Unexpected token '='.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.