Pass thru the export for React's useContext
hook.
Fixed bug with use of key
prop with components created using fromClass
.
Changed rendering of children to replace undefined
children with null
children, because React.Fragment
apparently does not like undefined
children.
Only Kefir properties, in other words, objects that inherit Kefir.Property
,
are lifted. Kefir.Stream
and Kefir.Observable
objects are not lifted and
will result in errors.
Dropped previously obsoleted fromKefir
combinator.
$$ref
is no longer required due to using React.forwardRef
in fromClass
.
Added support for fragments, IOW the React.Fragment
component, and deprecated
fromKefir
, because fragments make it unnecessary:
-const Foo = ( ... ) =>
- fromKefir( ... )
+const Foo = ( ... ) =>
+ <React.Fragment>
+ { ... }
+ </React.Fragment>
Kefir was changed from a dependency to a peer dependency to avoid the possibility of having multiple versions of Kefir in a project.