Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

React Snippets of JimengIO

A VS Code extension.

Usage

Install locally(need to uninstall first):

yarn global add vsce
yarn pkg

Also available on VS Code marketplace(Not suggested, could be outdated).

Current snippets:

  • jnc to insert new component.
  • jis to insert immerState method statement.
  • jms to insert mergeState method statement.
  • jmsf to insert <MesonForm/>.
  • jmsfm to insert <MesonFormModal/>.
  • jmsfd to insert <MesonFormDrawer/>.
  • jhk to insert a data fetching Hooks API.
  • jcs to insert a style definition.
  • jst to insert useState.
  • jef to insert useEffect
  • jue to insert useEditData

Development

Publish to marketplace:

yarn market

Notice permission system is complicated, need to setup a lot thing related to JIMENG org.

Helper

License

MIT

About

VS Code snippets frequently used in TSX files

Resources

Packages

No packages published