/vim-react-snippets

Vim version of the snippets from jgebhardt/sublime-react

Apache License 2.0Apache-2.0

vim-react-snippets

Removed support for SnipMate, for use with UltiSnips Uses ES6 syntax for React

A set of snippets for Vim to work with Facebook's React library.

A direct port of the awesome snippets from jgebhardt/sublime-react.

Requires vim-snipmate.

Usage

gdp expands to

getDefaultProps() {
    return {

    };
},

And a bunch of others! Check UltiSnips/javascript.snippets to see the full list.