4 ms·
FYI IntelliJ/WebStorm has a refactor option that automatically converts class-based components to hooks and vice-versa.
by TurningCanadian 5y ago
FYI IntelliJ/WebStorm has a refactor option that automatically converts class-based components to hooks and vice-versa.
- crummy 5y agoDoes it? I know it can go hooks -> class but haven't been able to get it to work the other way around. edit: You can go both ways, if your class component is simple enough.