Michel Weststrate
Michel Weststrate
Good idea! PR welcome :) On Tue, Jun 28, 2022 at 7:33 PM Ian Storm Taylor ***@***.***> wrote: > 🚀 Feature Proposal > > Right now it's really hard to...
> Nothing passed into immer should never be modified in anyway. That is precisely the thing that freezing guarantees :). If freezing is disabled, Immer cannot know anymore for sure...
I'd recommend to set `skipLibCheck` in your `tsconfig` if you're using a less common config, to avoid issues with Immer and potentially many other libs. There is no reason your...
Did you try the cast utilities? https://immerjs.github.io/immer/typescript#cast-utilities
Feel free to submit a PR! On Mon, 17 Jan 2022, 13:00 Robat Williams, ***@***.***> wrote: > Same issue with original() > > — > Reply to this email directly,...
Afaik we don't use `new Function`, couldn't find it in either source or compiled version, so probably something else is wrong, or something called by Immer, e.g. a recipe, is...
Hey @kevinold, I'm not sure how to address the above issue, as, as you might check the referred immer.esm.js file, there is no `eval`, dynamic function construction or WebAssembly in...
FWIW, it seems the error can be suppressed with this config: https://nextjs.org/docs/api-reference/edge-runtime#unsupported-apis. If Immer still works after that, it might be a false positive.
At a quick glance it looks indeed that the shallowCopy used during finalisation could be more efficient in case the proto is Object, feel free to submit a PR if...
@fantasticsoul I don't mind seeing immer reimplemented, but I do mind using our issue tracker as a billboard. I'll leave the comment here up, as is the unique selling point...