Open catarak opened 4 years ago
@catarak How can we use local storage in this? :thinking:
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: