lib/create-icon-set.js: Support for the experimental syntax 'classProperties' isn't currently enabled
See original GitHub issueI believe this module should include some compiling beforehand, rather than expecting the users build environment to transpile features.
node_modules/react-native-vector-icons/lib/create-icon-set.js: Support for the experimental syntax 'classProperties' isn't currently enabled (43:22):
41 |
42 | class Icon extends PureComponent {
> 43 | static propTypes = {
| ^
44 | allowFontScaling: PropTypes.bool,
45 | name: IconNamePropType,
46 | size: PropTypes.number,
Issue Analytics
- State:
- Created 4 years ago
- Reactions:31
- Comments:13
Top Results From Across the Web
Support for the experimental syntax 'classProperties' isn't ...
First install the: @babel/plugin-proposal-class-properties as dev dependency: ... The module section of my webpack.config.js looks like this
Read more >[HELP] Syntax 'classProperties' isn't currently enabled ... - Reddit
js : Support for the experimental syntax 'classProperties' isn't currently enabled (43:22): class Icon extends PureComponent { static propTypes = ...
Read more >Support for the experimental syntax 'classProperties ... - Drupal
Problem/Motivation When importing the 1.0.17 release of this package, various bundlers will fail due lack of support for class properties ...
Read more >Support for the experimental syntax 'classProperties' isn't ...
Coding example for the question Support for the experimental syntax 'classProperties' isn't currently enabled error on a React.js-babel.js.
Read more >Reactjs – Support for the experimental syntax 'classProperties ...
node_modules/babel-loader/lib/index.js): SyntaxError: ... for the experimental syntax 'classProperties' isn't currently enabled (17:9):
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not able to use vector icons in react native web because of this error. Any update on the issue ?
This is still happening with react-native-web