This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
rx-recompose: Improved API
acdlite
released this
27 Apr 23:51
·
297 commits
to master
since this release
- New module:
createComponent
maps a stream of owner props to a stream of React nodes. observeProps
is now calledmapPropsStream
observeProps
used to allow you to return an object of streams, which it would convert into a stream of objects. This form caused too much confusion, in my experience, so it's been removed in favor of explicit calls tocombineLatest
.createEventHandler
now returns an object withstream
andhandler
, where the handler pushes new values onto the stream. Previously, it returns a function that was both a handler and a stream. This new form is akin to mailboxes in Elm.
Refer to the README for full info.