React Native Snippet
This is a snippet for react native
Shortcuts / Commands
Main Commands
Command |
Snippet |
ccc |
Create class react native |
cct |
Create class container |
ppp |
Create component PropTypes |
pppp |
Create component PropTypes and Typescript |
cwm |
componentWillMount |
cdm |
componentDidMount |
cwrp |
componentWillReceiveProps |
cwum |
componentWillUnmount |
scud |
shouldComponentUpdate |
ctt |
Create constructor |
ss |
setState |
ttt |
export types action |
aaa |
create action |
sss |
create saga middleware |
lll |
console log |
exp |
export const { variable } = name; |
ii |
import module |
iat |
import types action |
icc |
import * as |
mmm |
mapStateToProps mapDispatchToProps |
sha |
Shadow style |
tss |
const { } = this.state; |
kkk |
keyExtractor |
kkkk |
keyExtractor |
tpp |
const { } = this.props; |
rrr |
createRefActionSheet = (ref) => this.refActionSheet = ref; |
cft |
Create function component |
fff |
Create function component |
ffff |
Create function component |
useSharedValue |
Reanimated useSharedValue |
useAnimatedStyle |
Reanimated useAnimatedStyle |
onGestureEvent |
Reanimated onGestureEvent |
Release Notes
🚀 |
New Feature |
✅ |
Minor Fix |
🐛 |
Bugfix |
Release Notes
[1.0.0]
Initial release of React Native Snippet 😍 🚀
Known Issues
No known issues so far.
Credits
| |