andreypopp / react-derivable

React bindings for derivable state computation library
123 stars 5 forks source link

New API modelled after new React context API proposal #8

Open andreypopp opened 6 years ago

andreypopp commented 6 years ago

This doesn't yet work on server as reactors should not be initialized there.

andreypopp commented 6 years ago

Also not sure if we need to add some kind of pure API (a-la PureComponent)... Right now it seems not required as it's easy just to do:

return renderMap(d, v => <SomePureComponent={v} />)
TrySound commented 6 years ago

Yep, PureComponent won't give wins here.