Closed Joshua-onwuzu closed 5 months ago
hey @Joshua-onwuzu, so sorry for the late reply. Somehow this didn't end up in my Github notifications.
I recently upgrade to xstate5 and did important fixes. Will do more this week and then publish a new version. Would you be interested to try again then?
@nikgraf I also was having this problem the other day. I'd definitely be willing to test a version 0.2.0
and a 0.2.1
to test a fix
I should also mention that when I clone secsync
and npm link
the packages, I wasn't seeing this issue, so I strongly suspect that your recent changes fixed the issue for me. But I'd be happy to verify on a published npm package.
@ncallaway just published a new version, would appreciate if you you can verify that it now works
@nikgraf Just tested with secsync@0.4.0
and secsync-server@0.4.0
and it's working for me
closing the issue, let me know once it comes up again
I'm attempting to experiment with SecSync in a React application and have completed the initial setup for Yjs and TipTap using useYjsSync as per the guidelines outlined in here.
I used the provided test WebSocket server
wss://secsync.fly.dev
. However, I encountered an issue where my state wasn't persisting to the server. Upon inspecting the browser's network tab, I noticed that there was no WebSocket connection being established and the application didn't throw any errors, and the machine state remained stuck in the connecting state. This problem persisted even when I attempted to run the WebSocket server locally.btw, i was able to get everything up and running together without issues from the docker setup, i am not sure what i am missing here.
ws://localhost:4000
in the code below points to the backend service from the repo running locally.here is my entire react code: