Open
Description
Using BroadCastChannelNetworkAdapter
causes repo.find
to not resolve, only when another tab runs repo.create
it will resolve the initial repo.find
. I have not noticed this issue before updating from 1.2.1
to 2.0.0-alpha.22
.
Steps to reproduce:
- Install and run dev server
pnpm install && pnpm dev
- open
http:localhost:3000
in browser X- will use repo.create internally
- will add an automerge-url as hash:
http:localhost:3000#automerge:...
- will add
hallo, world
to body
- open
http:localhost:3000#automerge:...
in browser Y- will use repo.find internally
- 🐛 will not resolve handle and cause an empty page
- open
http:localhost:3000
in browser Y in another tab- will add an automerge-url as hash:
http:localhost:3000#automerge:...
- will add
hallo, world
to body - now also the tab of 3. will be resolved and will show
hallo, world
- will add an automerge-url as hash:
I will remove BroadCastChannelNetworkAdapter
in my personal project, as I simply copy+pasted it from someone else and apparently it's only for testing purposes.
Metadata
Metadata
Assignees
Labels
No labels
Activity