mobx_resource_bloc 0.1.1-dev.2
mobx_resource_bloc: ^0.1.1-dev.2 copied to clipboard
Resource Bloc whose properties work within MobX's reactivity system
0.1.1-dev.1 0.1.1-dev.2 #
- Added
OnObservePolicyoption to change the behavior of the bloc when observed- Previously, the bloc would unconditionally reload when observed (either by calling
stream.listenor by observing its properties likestatein a MobX reaction) - Now, the
onObservePolicyproperty can be overriden to change the bloc's reload behavior when observed.
- Previously, the bloc would unconditionally reload when observed (either by calling
0.1.0-dev.1 #
- Initial release of MobX Resource Bloc
- Create resource blocs whose properties work within MobX's reactivity system.
ComputedResourceBlocwill recompute its key any time an observed value changes.- Resource bloc properties such as
streamandstateare observable values themselves and will update any observing MobX reactions.