You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Describe The Problem To Be Solved
Currently, the
url
ofpostMessage
argument is manually set tolocation.href
in the code:solid-primitives/packages/storage/src/persisted.ts
Lines 214 to 217 in dceb380
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
postMessage
'surl
argument for themessageSync
.The text was updated successfully, but these errors were encountered: