1.1.0 • Published 3 years ago

react-node-snippets v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Rating GitHub

Show snippets

Snippets info

Below is a list of all available Snippets and prefix for each one. The means the TAB key.

Supported Languages

  • JavaScript (.js)
  • TypeScript (.ts)
  • JavaScript React (.jsx)
  • TypeScript React (.tsx)
  • Markdown (.md)

React

PrefixMethod
axiosCreate →axios create
axiosInterceptRequest →axios intercept request
axiosInterceptResponse →axios intercept response
tronLog →print to reactotron console
useState →useState
useEffect →useEffect
theme →theme
rreducer →react reducer
rcombreducer →react combine reducers

React Native

PrefixMethod
rnimpsc →react native import styled components
rnfc →react native functional component
rncc →react native class component
rnStyleSheet →react native styleSheet create
rnnstack →react native navigation stack
rnndrawer →react native navigation drawer
rnntabs →react native navigation tabs
rnreactotron →react native reactotron config file
rnps →react native persist store
rnNormalizeFont →react native normalize font

Axios

PrefixMethod
axiosCreate →axios create
axiosInterceptRequest →axios intercept request
axiosInterceptResponse →axios intercept response

Node

PrefixMethod
mongooseConnection →mongoose connection
mongooseSchema →mongoose schema
expressNewRoute →express router
environmentSet →set environment variables

Express

PrefixMethod
expressNewRoute →express router

Mongoose

PrefixMethod
mongooseConnection →mongoose connection
mongooseSchema →mongoose schema

Nest

PrefixMethod
nestDatabaseBConnection →nest db connection

Globals

PrefixMethod
log →console log object
promise →new promise
imp →import module
impas →import module as
expdas →export module default as

Readme

PrefixMethod
readmeBasic →basic readme template
readmeBest →best readme template

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

@celsodias12 - Github