-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Sync sketch open in multiple places using web sockets #1249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@catarak How can we use local storage in this? 🤔 WebSockets is a good idea to implement this feature. |
I think serviceWorker is the more preferred way. |
Would using something like https://github.com/AOHUA/redux-state-sync make sense? |
This is on my mind as I was thinking about how to implement #1337. Would it perhaps make sense to solve this in the same way as handling updates for multiple users? Or should they be handled differently? |
The solution is definitely to dispatch sketch updates via websockets, after #1759 is completed. |
Nature of issue?
New feature details:
If you have a sketch open in multiple tabs, whether it be the edit or the full screen views, if you edit the code in the edit view, the sketch does not update in the other tabs.
As discussed in #1234 comment, this could be handled in a variety of ways:
The text was updated successfully, but these errors were encountered: