Files
webstudio/packages/react-sdk
Bogdan Chadkin 10ea732ee2 Resolve props assets on client (#1005)
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
2023-02-13 12:42:02 +03:00
..
2022-12-17 21:50:59 +01:00
2022-07-18 22:11:02 +02:00
2022-11-09 06:07:48 +00:00
2023-02-10 13:39:35 +03:00
2022-07-18 22:11:02 +02:00
2022-12-16 13:09:33 +03:00

Webstudio SDK

Webstudio SDK is a TypeScript API that lets you use your Webstudio site or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site