Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>JimengIO React SnippetsNew to Visual Studio Code? Get it now.
JimengIO React Snippets

JimengIO React Snippets

ChenYong

|
131 installs
| (0) | Free
Shared snippets used inside Jimeng FE team
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • A tool for splitting code into lines of JSON http://fe.jimu.io/snippet-splitter/
  • 一些技术细节 https://segmentfault.com/a/1190000018819751

License

MIT

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