mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 13:05:08 +09:00
Before we checked looked for all asset ids in props, loaded assets and replaced ids with resolved assets. This is all on server. We faced a few problems with it. - requires to maintain two versions of types: stored in db and resolved for client - easy to break project by writing to db wrong version Here I provide to sdk both props and assets and resolve on client with almost same amount of code. Also replaced store setter with context, see https://github.com/webstudio-is/webstudio-designer/issues/213