Skip to content

UruIT/vscode-react-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Snippets for Visual Studio Code

Extension for Visual Studio Code to add snippets for React in ECMA Script 6.

Extension demo

Usage

Type the snippet prefix and press enter.

u-ci		// console.info
u-ctor		// class constructor
u-impt		// import module statement
u-rfc		// functional component (stateless)
u-rcc		// class component (statefull)
u-it		// Jest test `it`
u-desc		// Jest test `describe`
u-suite		// Jest test suite (with imports)
u-pt		// Generic PropType
u-pts		// String PropType
u-ptn		// Number PropType
u-ptb		// Bool PropType
u-ptf		// Func PropType
u-actions	// Redux actions
u-action	// Redux action

Installation

Install through VS Code extensions. Search for UruIT React Snippets

Visual Studio Code Market Place: UruIT React Snippets

Can also be installed using

ext install uruit-react-snippets