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
Prefix
Method
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
Prefix
Method
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
Prefix
Method
axiosCreate →
axios create
axiosInterceptRequest →
axios intercept request
axiosInterceptResponse →
axios intercept response
Node
Prefix
Method
mongooseConnection →
mongoose connection
mongooseSchema →
mongoose schema
expressNewRoute →
express router
environmentSet →
set environment variables
Express
Prefix
Method
expressNewRoute →
express router
Mongoose
Prefix
Method
mongooseConnection →
mongoose connection
mongooseSchema →
mongoose schema
Nest
Prefix
Method
nestDatabaseBConnection →
nest db connection
Globals
Prefix
Method
log →
console log object
promise →
new promise
imp →
import module
impas →
import module as
expdas →
export module default as
Readme
Prefix
Method
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.
Fork the Project
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.