- upgrade react to version 17, and rxjs to version 7
useRxContainer
hook, as alternative toconnect
function- breaking restricting what can be accessed from
controller
, limiting it to onlyprops
(instead of wrapper component instance)
- better type coverage
- breaking removed
combineProps
feature automatically removing$
at end of variable, in exchange - now result type is correctly inferred from argument types
- TypeScript
- breaking remove deprecated
createContainer
- Babel 7
- hoist-non-react-statics (#8) (Pavlos Vinieratos)
- deps updates
- Remove usage of lifecycle hooks deprecated in react v 16.3 (https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#adding-event-listeners-or-subscriptions)
- rxjs v6
Start using RxJS pipeable operators.
Update react peer dependency. Dev tooling updates
Start using rollup to bundle library for distribution
Introduce HoC connecting RxJS logic to React Component.
In comparison createContainer
in previous versions this should provide:
- better testing possibilities for logic by allowing to separate it from view
- React Components are easier to compose
As a drawback comparing to previous approach - it will not wait for data before render, but I think it is better to handle this kind of logic separately.
connect
function for creating HoC component from react component and function Observable with propertiescombineProps
helper function to create properties observable from observables, observers and static props- refactor
createContainer
to usecombineProps
internally - deprecate
createContainer
in favor of creating HoC using newly introduced functions
- fix possible memory leak when rendering server-side
- move rxjs and prop-types to peerDependencies
- update deps
- switch to loose compilation mode
- use RxJS in modular way(reducing resulting bundle size)
Upgrade to RxJS v5
Bugfix, performance improvements, documentation
Initial release