anthonyshort / deku

Render interfaces using pure functions and virtual DOM
https://github.com/anthonyshort/deku/tree/master/docs
3.41k stars 131 forks source link

store functions as components #393

Closed thebearingedge closed 8 years ago

thebearingedge commented 8 years ago

This fixes #392. When a thunk is created from a plain Function component like

const Component = (model) => {}

it is properly updated on re-renders.

anthonyshort commented 8 years ago

Nice!

thebearingedge commented 8 years ago

:grin: