Comments (3)
Note that as soon as you swap out partysocket
with reconnectingwebsocket
, the issue goes away and extractMessageData
works perfectly fine.
from partykit.
Thanks for reporting! I'll have a look
from partykit.
It's not clear to me that extractMessageData should receive event.data, I'm now of the opinion it should receive event
itself, so as to be consistent across runtimes. ParrySocket's WebSocket implementation isn't meant to be a clone of the WS module, but a 'standard' WebSocket. I'm going to close this, but I'm happy to discuss.
from partykit.
Related Issues (20)
- `usePartySocket`/`useYProvider` should default to `host: window.location.host` HOT 1
- `socket.updateProperties()` overrides `party` HOT 1
- Feature request: Add rawProtocol param for y-partykit HOT 6
- Bun not working HOT 3
- bug: deploy - windows compatibility issue for wasm files HOT 2
- use npm: specifiers in partykit.json for main/parties
- Fine-grained Permissions possible? HOT 1
- Y.js V2 Update Format HOT 4
- PartySocket.fetch -- docs and host param
- This expression is not constructable HOT 1
- Make Party.Room constructor public HOT 2
- PartyKit Quickstart fails to open on macOS HOT 5
- Memory leak in "partykit dev" (runBuild) HOT 5
- Cannot use @jupyterlab/services: setImmediate is not defined
- Updating `Y.Doc` server-side HOT 5
- Very high number of Internal errors
- Load environment variables from alternate .env files
- CLI dev --tunnel flag to auto create Cloudflare Tunnel HOT 1
- [idea] Use Content Defined Chunking For Storing Yjs
- (might be a y-prosemirror issue) Unable to update a yjs doc via YPartykitProvider from outside of prosemirror
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partykit.