Dominic Gannaway
Dominic Gannaway
We can probably monkey patch `structuredClone` in DEV and warn to use `$state.snapshot` if encountering a Svelte proxied object. However, that can wait till 5.x as this isn't urgent.
> Just one more thing I wanna say here, If a function returns an object that is something like: > > ``` > { > name: string > } >...
@FoHoOV No, that wouldn't help at all. Boxing things doesn't solve anything – it just moves the problem to another area and in this case doesn't solve the problem of...
> It should be recursive (it's possible) but only for POJOs. In TS, a class instance and a POJO with the same fields are the same thing, aren't they? Their...