@WebStormIDE For some reason, in the latest version of OSX WS (2019.1.3), I have lost my React intention that allows me to convert class components to functional components. I don't see it in the Refactor menu, I don't see it in the lightbulb menu. Not with Ctrl+T or Alt+Enter.
-
-
It happens in each and every React project I have. I can convert from functional to class, but not the other way.
-
Can you please check if it works for something as simple as: https://gist.github.com/prigara/33b120d5a8fc9498c6e5065fc826836c … In general, this action is available only when the component doesn't reference the state and doesn't have any members other than render, propTypes, or defaultProps. Thanks!
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.