HomePhabricator
Diffusion Comm c2c09babe3b7

[lib] Use userStore ops in reducer

Description

[lib] Use userStore ops in reducer

Summary: On web we don't persist userStore in redux persist so we can't have a "migration period" where we test if the data in redux persist and sqlite matches and because of that we need to remove the asserts. But this code has been on native for some time now, and seems to work fine so we should be able to remove the safeguards and use data from sqlite directly without any problems.

Test Plan: Play around with the app on web and native, check if there are any errors.

Reviewers: kamil, marcin

Reviewed By: kamil

Subscribers: ashoat, tomek

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

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 2 2024, 6:46 AM
Reviewer
kamil
Differential Revision
D11535: [lib] Use userStore ops in reducer
Parents
rCOMM9259a5fd4b26: [lib] Simplify sorting local ids
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMc2c09babe3b7: [lib] Use userStore ops in reducer (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Apr 5 2024, 9:43 AM