Page MenuHomePhabricator

[Cashtab] Move defaultCashtabCache out of Ticker.js
ClosedPublic

Authored by bytesofman on Aug 9 2023, 18:08.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1e2863154acd: [Cashtab] Move defaultCashtabCache out of Ticker.js
Summary

T3261

Toward deprecating Ticker.js, move defaultCashtabCache to its own file

Note: "cashtabCache" and "cashtabSettings" are both somewhat of a mouthful. However, they reference specific objects. "settings" and "cache" are both general terms and we want to avoid ambiguity.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added a subscriber: Fabien.

This is an empty object, please look if you can get rid of it in a follow-up. AFAICT your problem is that you need a global, right ?

This revision is now accepted and ready to land.Aug 9 2023, 19:23

This is an empty object, please look if you can get rid of it in a follow-up. AFAICT your problem is that you need a global, right ?

good point.

Yes, we just need something that exists in one place so that it is easy to modify if and when we decide to cache more stuff.