mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-04 11:09:07 +09:00
To synchronize data between tabs it should be consistent and be easily accessible. Loading from server creates huge latency and data can be changed by loading from another tab. Here moved data loading to client side so it can be shared through IndexedDB. Added new `/rest/data/:buildId` endpoint and defined global setter and getter for current state.