Skip to content

Instantly share code, notes, and snippets.

@marioangulo
Last active March 22, 2018 20:26
Show Gist options
  • Save marioangulo/108fe33b7a7246f35695e401c2c347f7 to your computer and use it in GitHub Desktop.
Save marioangulo/108fe33b7a7246f35695e401c2c347f7 to your computer and use it in GitHub Desktop.
Cheat sheet for React

Setting Up Server

To Start Server

live-server /public

Babel

Babel Presets

babel src/app.js --out-file=public/scripts/app.js --presets=env,react

Babel Watch

babel src/app.js --out-file=public/scripts/app.js --presets=env,react --watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment