Repository navigation
v0.8.3
Added
- Notify mode guide. A notify component re-renders from the server instead of
the broadcast payload, andfilter_callbackcan remove it from a filtered
list. See Notify Mode. - Notify wrappers fill in the component name and record id, so
live_wrapper_optionsonly needsstrategy: :notify. ReactiveComponent.skip_own_broadcasts: the component that ran a
live_actionignores the broadcast it caused and keeps its optimistic
update. Off by default; override per component withlive_wrapper_options.subscribes_to ..., fields:limits a component's update broadcasts to
changes in the listed columns, likerebuilds_on ..., fields:on entities.
Fixed
- Notify components only react to changes to their own record. Before, every
notify component on a shared stream requested a re-render on any change. - A destroyed record's notify component is removed instead of staying on the
page. filter_callbackruns on every notify request, not only for components
that declare client state.- The configuration docs set
Channeloptions insideto_prepare; the
previous initializer example raisedNameError.
What's Changed
- Run CI on every pull request by @lluzak in #11
- Add fields: to subscribes_to by @lluzak in #12
- Notify mode and skip_own_broadcasts by @lluzak in #8
- Fix and document notify mode by @lluzak in #7
- Release 0.8.3 by @lluzak in #13
Full Changelog: v0.8.2...v0.8.3