Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>zcy-emmetNew to Visual Studio Code? Get it now.
zcy-emmet

zcy-emmet

alfredlau

|
6,350 installs
| (0) | Free
this is useful for code development
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

zcy-emmet

Basic

Prefix Method
zcy-destruct-props→ const {${1:}} = this.props;
zcy-destruct-state→ const {${1:}} = this.state;

React Components

zcy-list

import React, { Component } from 'react'

export default class FileName extends Component {
  render() {
    return <div>$2</div>
  }
}

Api Service

zcy-service-get



zcy-service-post

Async && Sync Fn

zcy-dispatch


const {dispatch} = this.props;
dispatch({
  type:'${1:moduleName}/${2:typeName}',
  payload:{}
})

zcy-models-effects

zcy-models-reduces

View Level

zcy-modal

zcy-sfc


const ${1:CompName} = props => (
  <React.Fragment>
    ${2}
  </React.Fragment>
)

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