I have removed most of what was there originally for redux since it was completely outdated.
I intend to increase the snippets in this extension to where it is actually useful.
If you want to include any more snippets, please create an issue on GitHub and I will add it.
Supported languages
Javascript
Javascript React
Typescript
Typescript React
Miscellaneous
Jest testing framework included
Snippets
Components
How
What
Alternative keys
rc
React component
comp
memo
React memo component
-
memop
React memo component including arePropsEqual
memo
Global Functions
How
What
Alternative keys
imp
Import default module
import
impa
Import module as alias
imp, import
con
Console log statement
-
@d
Description block
@desc
forof
Loop over object keys
fof
forin
Loop over object values
fin
foreach
Foreach loop
feach
map
Map loop
-
Jest Functions
How
What
Alternative keys
test
Default test implementation of Jest
ta
test
Default async test implementation of Jest
tna
it
Default it implementation of Jest
-
it
Default async it implementation of Jest
ita
desc
Describe test suite
describe
each
Test each function
te, teste
For questions or to request additions, changes and so on, please open an issue
on the Github page.