Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createPersistor: Separate serializing from writing.
One thing that should help mitigate zulip#4841 is to narrow the window during which we're propagating a Redux state change to persistent storage. This does quite a bit of that, by not having the `setItem` calls separated by (a) the CPU time to do the serialization, or (b) yields, as Greg points out [1]. [1] zulip#4694 (comment)
- Loading branch information