intellij 에서 import를 할때 react/cjs/react.production.min경로로 import를 해서 소스를 수정해줘야 하는 귀찮은 경우가 생긴다.
이럴때는 다름과 같이 한번해보자
npm install --save @types/react
참조 : stackoverflow.com/questions/46871567/webstorm-auto-completion-does-not-work-for-react-js/46871647
WebStorm auto completion does not work for React js
I've created a project using create-react-app. I have switched my JavaScript language version to React JSX in Preferences | Languages & Frameworks | JavaScript. But I still have unresolved vari...
stackoverflow.com