Printable idea sheet
postmessage_clone_safety
reqlan rq/codestyle/typescript.rq:152
Katz 0.040
Before `postMessage` from a Svelte webview, JSON-clone payloads ( `JSON.parse(JSON.stringify(...))` )
so `$state` proxies remain structured-clone safe. Shared helpers live in each webview's `lib/vscode.ts`.
- apply_to
- *.rq".*webview*, *.rq".*_pane
- status
- done
Interactive page: postmessage_clone_safety