Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dustingetz
· 12y ago · 0 comments
> so that the widget gets handed both its data and a function to call when it wants to change just its data
this is precisely how React works.
Comments
[–]
asolove
12y ago
Yeah, took me a second to wrap my head around the Om todo code. I've updated my comment with links to show how it works.