This project aims to make available a set of Snippets or shortcuts for creating components and configuration files for Visual Studio Code projects.
To install an extension with this snippets you can run Command Pallete using the command Ctrl + Shift + P or Cmd + Shift + P, type Install Extensions and finally Enter. After, search by VSCode Snippets and you will find the VSCode Snippets extension.
Currently, 4 languages are supported, JavaScript (.js), TypeScript (.ts), JavaScript React (.jsx) and TypeScript React (.tsx).
Below is the list of all available Snippets and abbreviations of each one.
Abbreviation
Description
rfc →
Create an React Functional Component with JavaScript or TypeScript.
rnfc →
Create an React Native Functional Component with JavaScript or TypeScript.
next-page →
Create an Next Page with JavaScript or TypeScript.
react-hook →
Create an React Hook file with JavaScript or TypeScript.
rsc →
Create an React Styled Components file.
rnsc →
Create an React Native Styled Components file.
Distributed under the MIT License. For more information, open file LICENSE.