Conditionally use default persist storage API or database depending on whether database is supported or not.
Depends on D7666
Differential D7667
[web-db] choose storage engine depending on whether database is supported or not kamil on Apr 27 2023, 7:47 AM. Authored by Tags None Referenced Files
Details Conditionally use default persist storage API or database depending on whether database is supported or not. Depends on D7666 Switch to commReduxStorageEngine and test if it works for not supported database
Diff Detail
Event TimelineComment Actions Wondering if this is the best solution. How about having two separate storage engines, one with only db and one with redux storage? Then we could conditionally set one or the other, but each of them would be a lot simpler.
|