Common
|
|
JS |
JSX |
TS |
TSX |
tl |
Template literal |
• |
• |
• |
• |
tc |
Try catch statement |
• |
• |
• |
• |
tcf |
Try catch finally statement |
• |
• |
• |
• |
cl |
Log to the console |
• |
• |
• |
• |
cx |
Log to the console ( named ) |
• |
• |
• |
• |
cc |
Log to the console ( colored ) |
• |
• |
• |
• |
Const
|
|
JS |
JSX |
TS |
TSX |
cv |
Constant variable |
• |
• |
• |
• |
cvt |
Constant variable ( typed ) |
|
|
• |
• |
cvtt |
Constant variable ( union type ) |
|
|
• |
• |
cf |
Constant arrow function |
• |
• |
• |
• |
cfa |
Constant arrow function with an argument |
• |
• |
• |
• |
cfd |
Constant arrow function with a destructured object as an argument |
• |
• |
• |
• |
React
|
|
JS |
JSX |
TS |
TSX |
rf |
Functional component |
|
• |
|
• |
rfp |
Functional component with a props |
|
• |
|
• |
us |
useState() hook |
|
• |
|
• |
ue |
useEffect() hook |
|
• |
|
• |
uer |
useEffect() hook with a return statement |
|
• |
|
• |
uc |
useCallback useCallback( |
|
• |
|
• |
arg |
List of an arguments , [] |
|
• |
|
• |
uad |
useAppDispatch() hook |
|
|
|
• |
uas |
useAppSelector() hook |
|
|
|
• |
Author
Dmitry Nikolashin
License
This project is licensed under the MIT License.
| |