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)
- autogenerate types based on partykit.json
- rewrite ai/vectorize local dev experience with service bindings
- Wrong protocol on local server? HOT 5
- Segmentation fault when running local dev HOT 15
- failed to import "y-partykit/react" |- ReferenceError: WebSocket is not defined HOT 9
- HMR in react when developing causes client disconnects
- use `party.io` on a non-main party
- Sanitise Party `name` on partykit init HOT 1
- `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
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.