Udemy tutorial

I'm doing a udemy tutorial to teach myself some react. commit 2

##commands use live-server to start their tutorial server live-server

yarn install babel-cli

yarn init // this is like npm init

babel src/app.js --out-file=public/scripts/app.js --presets=env,react --watch babel src/playground/es6-classes-1.js --out-file=public/scripts/es6-classes-1.js --presets=env,react

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

can add -- watch to watch the file for changes

Useful youtube for setting up some VSCode

notepad

// Create expenses-total.js and expenses-total.test.js