HomePhabricator
Diffusion Comm e8760c48ab6d

[native] move threadInfo caching logic

Description

[native] move threadInfo caching logic

Summary:
We no longer use navigation params directly in the inner component and moving caching logic of threadInfo to the outer component makes that clearer.

Depends on D5142

Test Plan: Check that if you change some value in settings (e.g. color) and log out, the settings screen that "blinks" for a moment has an updated value.

Reviewers: tomek, atul, abosh, ashoat

Reviewed By: ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5143

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Sep 20 2022, 1:39 AM
Reviewer
ashoat
Differential Revision
D5143: [native] move threadInfo caching logic
Parents
rCOMMb2b658d80025: [native] fix missing threadInfo in thread settings
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMe8760c48ab6d: [native] move threadInfo caching logic (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Sep 20 2022, 2:12 AM