[storage] The `messageSync` is not syncing between multiple browser tabs on different paths
@atk ci sta già lavorando.
Dal 5/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe The Problem To Be Solved
Currently, the url of postMessage argument is manually set to location.href in the code:
https://github.com/solidjs-community/solid-primitives/blob/dceb3800fac83c9c1d99b8054a0dd44a280c6646/packages/storage/src/persisted.ts#L214-L217
This means that synchronization is only available for tabs that are on the same path. If the tabs are on different paths, synchronization will not occur. However, synchronization will resume if the tabs navigate back to the same path and a message is posted.
Suggest A Solution
- Allow customizing the
postMessage'surlargument for themessageSync. - Remove this argument in the code so synchronization is available for all paths by default.
- 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à 2/5 1-3 ore Idoneità per principianti 84/100
bcgov/bc-wallet-mobile#4761 · 1 commento ·
-
external-issue to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100