Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>react-snippetsNew to Visual Studio Code? Get it now.
react-snippets

react-snippets

Leon Brett

|
4,278 installs
| (1) | Free
A collection of snippets to speed up react development
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

react-snippets README

This is a small selection of React Snippets to help speed up development of components and react apps.

Features

React Component Snippets

Command Result
rimp Imports React
rcc Class based react component with state and render
rfc Functional component with inline return
rfcr Functional component with separate return
rcss Component setState call

Redux Snippets

Command Result
rximp Imports createStore and combineRedcuers
rxre Reducer with inline empty state
rxred Reducer with default state const
rxact Redux action
rxcnt React-Redux component connector

Redux React Snippets

Command Result
rrimp Import React-Redux
rrcnt React-Redux component connector

General Snippets

Command Result
jscpm class property method (Requires Experimental Properties)

Known Issues

None

Release Notes

Initial release


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