Easy way to converting all state to useState! ⚛️
Visual Studio Code Extension - You can use in multi line or single for converting. Don't waste your time for changing to hook
Click to extension tab and search Make useState
and install it reload your editor. Or use this Make useState.
Select the desired ones(supports for kind variable).
Using Command Palette (CMD/CTRL + SHIFT + R) Or
Cmd+Shift+P
and select Make useState
thats it.
VSCode v1.0
MIT © UE