Skip to content

Snippets in JSON format specifically to be used on VS Code Editor.

License

Notifications You must be signed in to change notification settings

IgorMing/vscode-react-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Install Ratings

VS Code React Snippets

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!

Following below the available snippets

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!

About

Snippets in JSON format specifically to be used on VS Code Editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published