Skip to content

Instantly share code, notes, and snippets.

@ian-bartholomew
ian-bartholomew / cjsx.md
Last active August 2, 2017 18:46
CJSX -> JSX/ES6

Dependencies

Depercolator

React codemon

Usage

To transpile cjsx to jsx: depercolate --prefer-const <filename>

To then update the jsx to the newest React API (info):

Keybase proof

I hereby claim:

  • I am ian-bartholomew on github.
  • I am oldmeaty (https://keybase.io/oldmeaty) on keybase.
  • I have a public key ASD_MZVi6C3yqV3sGvBkgWLp-rTMi0SteZnKU3EFapwoDgo

To claim this, I am signing this object: