Answer the question
In order to leave comments, you need to log in
How to make React 16 friends with WebStorm/PyCharm?
React 16 - /node_modules/react/index.js :
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react.production.min.js');
} else {
module.exports = require('./cjs/react.development.js');
}
Answer the question
In order to leave comments, you need to log in
In PyCharm, I would not expect such support.
I have latest PhpStorm, NodeJS plugin installed, node itself is 8.6.
And there is another setting.
Settings > Languages & Frameworks > Javascript
JavaScript language version = Flow
Works like clockwork.
The latest WebStorm should be able to do this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question