Build the bundle with:
bazel build //app:bundle
python -m SimpleHTTPServer
Navigate to localhost:8000/static in your browser.
Currently runs at 881b after jsx+es6 transpilation and minification. Can you make a smaller equivalent example? Babel makes 1.7kb.
Features:
- Full type checking
- Minification of member variables and methods of the App class.
- Source maps out of the box
- Can we further minify the React.xxx apis? aka replace
React.createElement()
withvar a = React.createElement; a();
- Bug in closure that can't compose source maps with jsx properly