Snippets
Trigger |
Content |
much:memo→ |
much memo template |
much:useImperativeHandle→ |
much useImperativeHandle template |
much:hook→ |
much create hook |
much:drawer→ |
much drawer template |
much:modal→ |
much modal template |
much:promodal→ |
much ProModal template |
imt→ |
import |
imr→ |
import React |
imrs→ |
import React, { useState } |
imrse→ |
import React, { useState, useEffect } |
uef→ |
useEffect |
cc→ |
Class Component |
ccc→ |
Class Component Constructor |
fc→ |
Function Component |
ffc→ |
Function Syntax Component |
sfc→ |
Stateless Function Component |
cdm→ |
componentDidMount |
gds→ |
getDerivedStateFromProps |
scu→ |
shouldComponentUpdate |
cdu→ |
componentDidUpdate |
cwun→ |
componentWillUnmount |
cdc→ |
componentDidCatch |
gsbu→ |
getSnapshotBeforeUpdate |
ss→ |
setState |
ssf→ |
Functional setState |
usf→ |
Declare a new state variable using State Hook |
ren→ |
render |
conc→ |
constructor |
rprop→ |
Render Prop |
tsdrpfc→ |
Export Default React Pure Function Component |
much:request→ |
async template |
much:enum→ |
enum object |
///→ |
print to js method |
//#→ |
print to js api |
| |