Drew Simmons

Results 14 comments of Drew Simmons

Here's how the app is started: ``` var tree = app.start(); document.body.appendChild(mainView()); var mainWrapper = document.getElementById('approot'); mainWrapper.appendChild(tree); ``` Using this pattern because 3rd party script is attaching an iframe to...

@yoshuawuyts Here's my index.js. Does anything look suspect? ```js const html = require('choo/html') var css = require('sheetify') var choo = require('choo') // VIEWS var landingView = require('./views/landing') var loginView =...

Looks good: ``` Navigated to https://localhost:49624/ index.js:17 first store: loaded index.js:25 second store: loaded index.js:19 first store: dom loaded! index.js:27 second store: foo emitted! index.js:147 20:15:53 ✨ choo DOMContentLoaded 245ms...

[Some ideas here](http://blog.nparashuram.com/2016/02/using-webworkers-to-make-react-faster.html) on how to speed this up. > The first suggestion was to use transferable objects instead of using JSON data to pass messages. The DOM manipulation instructions...