Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[storage] The `messageSync` is not syncing between multiple browser tabs on different paths

Abierto
#703 1 comentario 0 reacciones 1 asignado Ver en GitHub

@atk ya está trabajando en esto.

Desde el 5/7/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

help wanted
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's url argument for the messageSync.
  • Remove this argument in the code so synchronization is available for all paths by default.
Lenguaje dominante
TypeScript
Estrellas
1.6k
Forks
162
Merge medio
19 h 40 min
PR fusionados (30 d)
8

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de solidjs-community/solid-primitives

Todos los issues de solidjs-community/solid-primitives

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.