Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Bach Snippets for JavaScriptNew to Visual Studio Code? Get it now.
Bach Snippets for JavaScript

Bach Snippets for JavaScript

Truefit

|
1,955 installs
| (1) | Free
Snippets for the [bach](https://github.com/truefit/bach) ReactJS library.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bach JavaScript Snippets for VS Code

Features

Adds javascript snippets for using bach and bach-recompose with React.

Available Snippets

General

  • comp → compose

Bach

  • wcal → withCallback
  • wcon → withContext
  • weff → withEffect
  • wlay → withLayoutEffect
  • wmem → withMemo
  • wred → withReducer
  • wref → withRef
  • wsta → withState
  • wspr → withStaticProps

Bach Recompose

  • rif → renderIf
  • whan → withHandlers
  • wlif → withLifecycle
  • wpro → withProps

Bach Material UI

  • wsty → withStyles
  • wthe → withTheme

Known Issues

...

Release Notes

0.0.2

Initial release of bach snippets. Includes support for:

  • compose
  • withCallback
  • withContext
  • withEffect
  • withHandlers
  • withLayoutEffect
  • withLifecycle
  • withMemo
  • withReducer
  • withRef
  • withState

0.1.0

Adds more snippets for bach

  • withStaticProps

Adds more snippets for bach-recompose

  • renderIf
  • withProps

Adds snippets for bach-material-ui

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