Snippets in JSON format specifically to be used on VS Code Editor.
Easy shortcuts to help and expedite your code development.
NOTE: Version 2.x comes with some changes for typescript files!
Command | Description |
---|---|
clog |
A simple console.log(); |
cwarn |
A simple console.warn(); |
cerr |
A simple console.error(); |
scomp |
Create an arrow function react component |
impvar |
Import an exported variable |
imp |
Import a default exported variable from an absolute library |
impdir |
Import a default exported variable from a directory |
impvardir |
Import a exported variable from a directory |
effect |
useEffect hook with a function scope |
ieffect |
useEffect hook but inline |
usest |
useState hook creation |
That's it for now.
Enjoy!