Open Bug 1989396 Opened 2 months ago Updated 2 months ago

Remove manual observation pattern from the Store

Categories

(Firefox for Android :: Tooling, enhancement)

All
Android
enhancement

Tracking

()

People

(Reporter: matt-tighe, Unassigned)

References

(Depends on 2 open bugs)

Details

Once we introduce a Stateflow to the Store in bug 1988984 and remove our custom extensions to convert Store.state observations to Compose State in bug 1989389, we should be able to remove the manual observer patterns defined as extension functions and in the Store itself and instead rely entirely on the industry-standard methods of observing through flows. This will simplify the implementation of the Store, reduce the number of competing patterns in the app, and provide more clarity as to when consuming features need to introduce suspending code.

See Also: → 1979973
You need to log in before you can comment on or make changes to this bug.