Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>React setStateNew to Visual Studio Code? Get it now.

React setState

tylerasa

|
32 installs
| (0) | Free
Extension to quickly create a react state with the useState hook
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

react-setstate README

react-setstate is an extension that allows react developers to create state quickly.

Usage

Navigate to the line you want the state to created on and press

  • Windows: Ctrl+Shift+P
  • Linux: Ctrl+Shift+P
  • MaxOs: ⇧⌘P

to bring up the command palette, and then type React setState. Enter the state's name and press enter (separated by a comma).

gif

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft