Skip to content
#

immutable

Here are 754 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

js-ipfs
jonasesr
jonasesr commented Dec 4, 2019

Currently there is no possibility to set up a custom rounding function. Therefore you are limited to the ones that are implemented by default. For my case I need a rounding function that always rounds up (e.g. 0.002 => 0.01 with precision 2, commercial rounding)

It would be nice to pass a callback or a string that describes the rounding mode. If it is a string and the string matches the suppo

Improve this page

Add a description, image, and links to the immutable 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 immutable topic, visit your repo's landing page and select "manage topics."

Learn more