HomePhabricator
Diffusion Comm dcfd5acdc213

[web] Add redux persist dependency

Description

[web] Add redux persist dependency

Summary:
We would like to use persistence on web and the most convenient way to do that is to use redux-persist. We already use that library on native. The default persistence location of web is local storage which is what we need.

This diff also contains a patch that fixes a bug in redux-persist types: _persist should be an optional property. I've decided to put these two changes in one diff because without the patch this library is basically unusable on web.

Test Plan:
Run the web and check if opening the app works. The behavior shouldn't be affected by this change.
Check if running yarn install installs the library with the patch applied.

Reviewers: jacek, atul, ashoat

Reviewed By: ashoat

Subscribers: adrian, abosh

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

Details

Provenance
tomekAuthored on Aug 11 2022, 8:25 AM
Reviewer
ashoat
Differential Revision
D4811: [web] Add redux persist dependency
Parents
rCOMM12d76a161039: [native] Trace sqlite queries
Branches
Unknown
Tags
Unknown