mobx_resource_bloc 0.1.1-dev.2 copy "mobx_resource_bloc: ^0.1.1-dev.2" to clipboard
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 OnObservePolicy option to change the behavior of the bloc when observed
    • Previously, the bloc would unconditionally reload when observed (either by calling stream.listen or by observing its properties like state in a MobX reaction)
    • Now, the onObservePolicy property can be overriden to change the bloc's reload behavior when observed.

0.1.0-dev.1 #

  • Initial release of MobX Resource Bloc
    • Create resource blocs whose properties work within MobX's reactivity system.
    • ComputedResourceBloc will recompute its key any time an observed value changes.
    • Resource bloc properties such as stream and state are observable values themselves and will update any observing MobX reactions.
0
likes
150
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

Resource Bloc whose properties work within MobX's reactivity system

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, mobx, resource_bloc

More

Packages that depend on mobx_resource_bloc