cozy-labs / cozy-desktop

File Synchronisation for Cozy on Desktop and Laptop
https://cozy-labs.github.io/cozy-desktop/
GNU Affero General Public License v3.0
98 stars 45 forks source link

core/remote/cozy: Use cozy-stack-client methods #2258

Open taratatach opened 1 year ago

taratatach commented 1 year ago

Methods from cozy-client use a redux store to keep a local data cache which creates a large memory footprint for Desktop without benefits since we don't use that store.

These methods wrap cozy-stack-client methods which make the calls to the remote Cozy without dealing with redux. Using them should make Desktop a little lighter.

Please make sure the following boxes are checked: