core-decorators
core-decorators copied to clipboard
react-native 0.42.3 SyntaxError 'Unxpected Token"
@autobind does not work for the latest RN
Hey thanks for reporting. I would need some way to reproduce this. Can you provide any specific details and a minimum way to reproduce it? Where is the SyntaxError happening?
@jayphelps You can reproduce this by creating a new React-Native sample project -> "https://facebook.github.io/react-native/docs/getting-started.html", and then by using this module on the main index.ios.js file. The error occur on the line where the @autobind keyword is used, I believe react cant interpret the "@" symbol.
any solution yet?