multiplexStorage source of truth
@atk ci sta già lavorando.
Dal 5/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug
The docs for multiplexStorage state
For the getItem operation, the first storage that returns a valid value will be the source of truth.
But I am able to reproduce a scenario where the first storage has no value, the second storage has a value, but the value from the second storage is not used as the source of truth.
Steps to repro:
- Navigate to https://playground.solidjs.com/anonymous/f998757e-6b08-4054-9e7a-87a0b20902a7
- Verify that the counter button is set to
1 - Click the counter button once, incrementing it to
2 - Verify that the count in
localStoragehas been set to2 - Verify that the count in
indexedDB/localForagehas been set to2 - Refresh the page
- Verify that the counter button is still correctly set to
2 - Delete the
localStoragerecord forcount - Refresh the page
- Verify that the counter button is incorrectly set back to
1 - Verify that the count in
indexedDB/localForageis still set to2
This seems to show that the localForage storage option is not being used, despite being the only storage option returning a valid value.
Minimal Reproduction Link
https://playground.solidjs.com/anonymous/f998757e-6b08-4054-9e7a-87a0b20902a7
- Lingua principale
- TypeScript
- Stelle
- 1.6k
- Fork
- 162
- Merge medio
- 19h 40m
- PR unite (30g)
- 8
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di solidjs-community/solid-primitives
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
solidjs-community/solid-primitives#1059 · 1 commento ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
solidjs-community/solid-primitives#1000 · 3 commenti · 5 reazioni ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di solidjs-community/solid-primitives
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD Apertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
LiteLLM proxy response_cost (x-litellm-response-cost) is never applied to ChatModelOutput.cost Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
i-am-bee/beeai-framework#1697 · 1 reazione ·
-
Support bun dedupe Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
antfu/node-modules-inspector#214 ·