After install this snippets add this inside your settings
"editor.snippetSuggestions": "top",
Snippets | Content |
---|---|
edl | Eslint Disable Line |
imst | Import Statement |
imp | Import |
imn | Import No Module Name |
ime | Import Everything |
ima | Import As |
ed | Export Default |
exd | Export Destructing |
exa | Export As |
enf | Export Named Function |
edf | Export Default Function |
met | Method |
fre | For Each |
fof | For Of |
fin | For Inf |
anfn | Anonymous Function |
nfn | Named Function |
dob | Destructing Object |
dar | Destructing Array |
sti | Set Interval |
sto | Set TimeOut |
prom | Promise |
cas | Console Assert |
ccl | Console Clear |
cco | Console Count |
cdi | Console Dir |
cer | Console Error |
cgr | Console Group |
cge | Console Group End |
clg | Console Log |
ctr | Console Trace |
cwa | Console Warn |
cin | Console Info |
cm | Comment Block |
cmmb | Comment Big Block |
cbl | Comment Big Line |
graphql | GraphQL For Component |
expgql | Export GraphQL |
impt | Import PropTypes |
pta | Prop Type Array |
ptar | Prop Type Array Required |
ptb | Prop Type Bool |
ptbr | Prop Type Bool Required |
ptf | Prop Type Func |
ptfr | Prop Type Func Required |
ptn | Prop Type Number |
ptnr | Prop Type Number Required |
pto | Prop Type Object |
ptor | Prop Type Object Required |
pts | Prop Type String |
ptsr | Prop Type String Required |
ptnd | Prop Type Node |
ptndr | Prop Type Node Required |
ptel | Prop Type Element |
ptelr | Prop Type Element Required |
pti | Prop Type Instance Of |
ptir | Prop Type Instance Of Required |
pte | Prop Type Enum |
pter | Prop Type Enum Required |
ptet | Prop Type One Of Type |
ptetr | Prop Type One Of Type Required |
ptao | Prop Type Array Of |
ptaor | Prop Type Array Of Required |
ptoo | Prop Type Object Of |
ptoor | Prop Type Object Of Required |
ptsh | Prop Type Shape |
ptshr | Prop Type Shape Required |
ptypes | Static Prop Types |
hocredux | HOC With Redux |
hoc | HOC |
rnc | React Native Component |
rnce | React Native Component Export |
rncredux | React Native Class Component Redux |
imrn | React Native Import |
imr | Import React |
imrc | Import React, { Component } |
imrcp | Import React, { Component } & PropTypes |
imrpc | Import React, { PureComponent } |
imrpcp | Import React, { PureComponent } & PropTypes |
rcc | React Class Compoment |
rce | React Class Export Component |
rfe | React Functional Export Component |
rfep | React Functional Export Component With PropTypes |
rfc | React Functional Component |
rfcp | React Functional Component With PropTypes |
rcep | React Class Export Component With PropTypes |
rpc | React Class Pure Component |
rpcp | React Class Pure Component With PropTypes |
rccp | React Class Compoment PropTypes |
rconst | Class Constructor |
est | Empty State |
cwm | Component Will Mount |
cdm | Component Did Mount |
cwr | Component Will Receive Props |
scu | Should Component Update |
cwup | Component Will Update |
cdup | Component Did Update |
cwun | Component Will Unmount |
ren | Component Render |
sst | Component Set State Object |
ssf | Component Set State Func |
props | Component Props |
state | Component State |
redux | Import Redux Statement |
rpf | Redux Pure Function |
rpc | Redux Pure Function Const |
rcredux | React Class Compoment Redux |
reduxmap | Mapping To Props |
rxaction | Redux Action |
rxconst | Redux Const |
rxreducer | Redux Reducer |
rxselect | Redux Selector |
desc | Describe Block |
test | Test Block |
tit | It Block |
stest | Setup Test |
sjtest | Setup Test With Enzyme To Json |
sntest | Setup React Native Test |
snrtest | Setup React Native Test With Redux |