var c = require('choo') var a = choo() a.router(r => [ r('/', () => c.view`<h1>Hello Tokyo!</h1>`) ]) document.body.appendChild(a.start())
-
-
Replying to @yoshuawuyts
Haha, showed off choo at nodeschool to people, asked me to do a presentation, now someone else is presenting on choopic.twitter.com/0Wrn3WrLui
2 replies 1 retweet 8 likes -
Replying to @yoshuawuyts
They literally built a full todoMVC clone in 30 minutes, never seen the thing before - it runs so smoothly
1 reply 0 retweets 3 likes -
Replying to @yoshuawuyts
Section about subscriptions in choo is up - learn how to handle websockets, SSE and keyboard events - https://github.com/yoshuawuyts/choo#subscriptions …


1 reply 0 retweets 1 like -
Replying to @yoshuawuyts



choo 1.4 is out! Now has server rendering... in constant time! 
Docs - https://github.com/yoshuawuyts/choo#rendering-in-node … | Example - https://github.com/yoshuawuyts/choo/tree/master/examples/server … 
1 reply 0 retweets 5 likes -
Replying to @yoshuawuyts
Yay, choo has hit 150 stars on GitHub in 12 days - thanks everyone!





https://github.com/yoshuawuyts/choo/stargazers …1 reply 0 retweets 4 likes -
Replying to @yoshuawuyts
Released choo v2.0 - now with clearer namespaces and more docs! | Namespace docs https://github.com/yoshuawuyts/choo#models … | Changeloghttps://github.com/yoshuawuyts/choo/blob/master/CHANGELOG.md …
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
damn it, supporting rehydration in choo might make the API weird - document.body.appendChild(tree) might need to be wrapped or conditional
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
Cool, introduced a new API for choo rehydration. Updated the server example. PR heeeeereeee (if GH stops crashing)https://github.com/yoshuawuyts/choo/pull/13 …
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
Released choo v2.1 - now with support for rehydration after load | Docs: https://github.com/yoshuawuyts/choo#rehydration … | Example: https://github.com/yoshuawuyts/choo/blob/master/examples/server-rendering …
1 reply 0 retweets 0 likes
Updated the docs header for choo - now nice and centered https://github.com/yoshuawuyts/choo …pic.twitter.com/IPXeMUd9tf
-
-
Replying to @yoshuawuyts
Form documentation for choo is up - documents how you should do forms regardless of frameworks actually - https://github.com/yoshuawuyts/choo#forms …




1 reply 0 retweets 2 likes -
Replying to @yoshuawuyts
HTTP demo for choo is up using
@hyperdevit, very nifty! - site: https://fork-fang.hyperdev.space/ | (forkable) source: https://hyperdev.com/#!/project/fork-fang …1 reply 0 retweets 2 likes - 37 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.