Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Make useState | Convert state to useStateNew to Visual Studio Code? Get it now.
Make useState | Convert state to useState

Make useState | Convert state to useState

Ugur Erdal

|
2,433 installs
| (2) | Free
easily convert class state to useState
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Make useState - React state to useState converter - VScode Extension

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

Install

Click to extension tab and search Make useState and install it reload your editor. Or use this Make useState.

Usage

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

For questions

Repo

License

MIT © UE

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft