Extension for Visual Studio Code to add snippets for React in ECMA Script 6.
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-pta // Array PropType
u-pto // Object PropType
u-ptsymbol // Symbol PropType
u-pte // Element PropType
u-ptnode // Node PropType
u-ptinstanceof // Instance Of (PropType)
u-ptoneof // One Of (PropType)
u-ptoneoftype // One Of Type (PropType)
u-ptarrayof // Array Of (PropType)
u-ptobjectof // Object Of (PropType)
u-ptshape // Shape (PropType)
u-ptany // Any PropType
u-ptcustom // Custom PropType
u-ptcustomarrayof // Custom ArrayOf PropType
u-actions // Redux actions
u-action // Redux action
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