Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>React Native SnippetNew to Visual Studio Code? Get it now.
React Native Snippet

React Native Snippet

nghinv

|
402 installs
| (0) | Free
This is a snippet for react native
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

React Native Snippet

This is a snippet for react native

Gif

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

  • @Nghi-NV
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft