Comments: Straightforward (Live) Functional JavaScript: Building the Yome Widget
A friend and I worked through this setup for early 2017. A lot has changed in the tooling, but here’s a snapshot of the repo with everything working:
You’ll need:
- We downloaded react.min.js and react-dom.min.js from the CDN and put them in
build
: http://reactjs.cn/ npm install
to install Babel locally- Babel scripts in
package.json
that you run vianpm run build
. (This package.json doesn’t show it, but you should make awatch
script containing"babel -w src -d build"
(note that extra-w
flag for watch). .babelrc
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Super, interesting and useful!