Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Rocket Express-React-Redux SnippestsNew to Visual Studio Code? Get it now.
Rocket Express-React-Redux Snippests

Rocket Express-React-Redux Snippests

Ragokan

|
1,086 installs
| (1) | Free
The fastest snippets for your code!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rocket React,Redux,Express -> Javascript Snippets

The fastest snippets for JavaScript.

React

imp -> import react

imps -> import react, useState

impse -> import react, useState, useEffect

imprrs -> import router,route,switch improuter -> import browserrouter

impcomp -> import component from ./components/name

reactboilerplate -> creates react empty function

reactcontext -> creates useReducercontext

reactcontextstate -> create useState context

usestate -> uses state with setCapital

useeffect -> uses useeffect

rmodel -> creates value,setValue for input

reactprivateroute -> Generates private route

reactprivateroute.spin -> Generates route with conditional loading spinner (spinner is empty)

Redux

reduxboilerplate -> creates empty function component that uses connect with redux

reduxaction -> creates redux action

reduxreducer -> creates redux reducer

reduxstore -> creates redux store with browser extension reduxrootreducer -> creates main reducer for your #### app

reduxmaponly -> inserts mapstatetoprops and mapdispatchtoprops with connect to your function

reduxconst -> creates export redux action type

Express - MongoDB

expressserver -> creates mongoose,express,dotenv server with connections

expressroutes -> creates crud routes with async and => function

expressmodel -> creates empty mongoose schema

Util

e.pre -> e.preventDefault()

logit -> console.log()

arrow -> creates arrow function

aarrow -> creates async arrow function

arrow.exp -> creates and exports arrow function

aarrow.exp -> creates and exports async arrow function

promise. -> creates return Promise function

.then -> answers the promise with then

res. -> res.status(value1).json(value2)

imp.m -> import module like import value from "value"

Firebase React

firebaserootreducer -> root reducer of redux with firebase

firebaseactionredux -> redux action with firebase

firebasereduxstore -> redux store with firebase

firebase.auth -> creates firebase settings with auth

firebasereduxconfig -> creates firebase redux config for new versions

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