React Redux Simple Snippets
Collection of the essentioanl Snippets for React , React Native and Redux .
These snippets are selected based on my own use. Not everything is included, it is meant to be a minimal collection of the essentials only.
Works With
- JavaScript (.js)
- JavaScript React (.jsx)
- TypeScript React (.tsx)
Snippets List
React
Trigger |
Result |
rfc |
React functional component skeleton |
rusth |
useState hook |
rcc |
React class component skeleton |
rccc |
React class component with constructor skeleton |
rcr |
React class component with redux connect |
con |
Creates class constructor |
ss |
setState shortcut |
React (Typescript)
Trigger |
Result |
rfct |
React stateless component skeleton |
rnfct |
React Native functional component skeleton |
rusth |
useState hook |
React Native
Trigger |
Result |
rncc |
React Native class component skeleton |
rnfc |
React Native functional component skeleton |
rncr |
React Native component with redux connect |
imrn |
Import React Native Element |
rnss |
React Native StyleSheet |
Redux
Trigger |
Result |
reducer |
Redux Reducer skeleton |
action |
Action Creator skeleton |
| |