The Wayback Machine - https://web.archive.org/web/20210318083901/https://github.com/topics/immutables
Skip to content
#

immutables

Here are 28 public repositories matching this topic...

atvoid
atvoid commented Mar 15, 2021

When we have multiple iframes with the same origin, we can share objects between different iframe window. But immer produce has a check isPlainObject(), there is a condition "Object.getPrototype(xxx) === Object.prototype", which makes this scenario broken. Because the window.Object.prototype in different iframes have different instances. This condition will return false.

The basic repro example

Improve this page

Add a description, image, and links to the immutables topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the immutables topic, visit your repo's landing page and select "manage topics."

Learn more