Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>react-create-snippetNew to Visual Studio Code? Get it now.
react-create-snippet

react-create-snippet

lulin

|
777 installs
| (0) | Free
react 15- create snippet
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

使用方法:

_rcc


import React from 'react';

export const ComponentName = React.createClass({
    render() {
        <div>$2</div>
    }
});

_rccpure


import React from 'react/addons';

const PureRenderMixin = React.addons.PureRenderMixin;

export const ComponentName = React.createClass({
    mixins: [PureRenderMixin],
    render() {
        <div>$2</div>
    }
});

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft