Because nodes need to serialize props and other attributes for viewing in the devtools, props lose reference to the prototype chain which can cause exceptions and other side effects to occur. I've added a local cache of the original objects that were serialized and update them before injecting the state back into svelte.
This is a proposed solution to the issue I describe in https://github.com/sveltejs/svelte-devtools/issues/194
Because nodes need to serialize props and other attributes for viewing in the devtools, props lose reference to the prototype chain which can cause exceptions and other side effects to occur. I've added a local cache of the original objects that were serialized and update them before injecting the state back into svelte.