You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Constructor Map requires 'new'
at DraftMap.Map (<anonymous>)
at new DraftMap (immer.js:984)
at proxyMap (immer.js:1137)
at Immer.createProxy$1 [as createProxy] (immer.js:1654)
at Object.get (immer.js:595)
at plugins.tsx:63
at Immer.produce (immer.js:1528)
at reducer (plugins.tsx:62)
at combination (redux.js:464)
at p (<anonymous>:1:36402)
at v (<anonymous>:1:36684)
at <anonymous>:1:40069
at Object.dispatch (redux.js:218)
at Object.e [as dispatch] (<anonymous>:1:40553)
at _default (plugins.tsx:64)
at index.tsx:40
Link to repro
_A bug report without a reproduction is not a bug report. _
Please provide either a CodeSandbox demo, or a PR with a unit test. In limited cases, a minimal repository on GitHub is accepted as well.
To Reproduce
Steps to reproduce the behavior:
Observed behavior
A description of what behavior you observed and consider faulty.
Expected behavior
A clear and concise description of what you expected to happen.
Environment
We only accept bug reports against the latest Immer version.
Immer version:
Occurs with setUseProxies(true)
Occurs with setUseProxies(false) (ES5 only)
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Draft a Map
Link to repro
_A bug report without a reproduction is not a bug report. _
Please provide either a CodeSandbox demo, or a PR with a unit test. In limited cases, a minimal repository on GitHub is accepted as well.
To Reproduce
Steps to reproduce the behavior:
Observed behavior
A description of what behavior you observed and consider faulty.
Expected behavior
A clear and concise description of what you expected to happen.
Environment
We only accept bug reports against the latest Immer version.
setUseProxies(true)
setUseProxies(false)
(ES5 only)The text was updated successfully, but these errors were encountered: