Playing around with some virtual-*
tech. Creates a minimal (11Kb
) modern JS
application that can be rendered on both client and server.
$ git clone git@github.com:yoshuawuyts/playground-virtual-app.git
- router
- virtual-dom rendering
- immutable data structures
- unidirectional event flow
- human readable templates
- inline stylesheet declaration
Lifecycle scripts included in playground-virtual-app:
start
NODE_ENV=development budo . --pushstate
available via `npm run-script`:
build
NODE_ENV=production browserify . | uglifyjs
disc
NODE_ENV=production browserify . --full-paths | uglifyjs | discify --open
size
npm run build | gzip-size | pretty-bytes