Page MenuHomePhabricator

[lib] Move usePersistedStateLoaded() to lib package
ClosedPublic

Authored by angelika on Oct 28 2024, 2:44 PM.
Tags
None
Referenced Files
F3733751: D13801.id45414.diff
Thu, Jan 9, 3:02 AM
F3733669: D13801.id45416.diff
Thu, Jan 9, 2:56 AM
F3733663: D13801.id45416.diff
Thu, Jan 9, 2:54 AM
F3733627: D13801.id45446.diff
Thu, Jan 9, 2:40 AM
F3733615: D13801.id45461.diff
Thu, Jan 9, 2:36 AM
F3732958: D13801.id45446.diff
Thu, Jan 9, 2:03 AM
F3732954: D13801.id45414.diff
Thu, Jan 9, 2:03 AM
F3732601: D13801.id45461.diff
Thu, Jan 9, 1:54 AM
Subscribers

Details

Summary

Related to: https://linear.app/comm/issue/ENG-9803/make-sure-peertopeermessagehandler-run-after-persisted-state-is-read

Web and native use similar mechanism for checking when state is read.
This diff unifies it and moves to lib package in order to use it later in PeerToPeerMessageHandler.

Test Plan

Run the app and web and make sure the app loads.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think it would've been easier to review this one if you had broken it down further: one diff that renames storeLoaded to initialStateLoaded on native, and another that does the rest

This revision is now accepted and ready to land.Oct 29 2024, 4:36 AM