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
The text was updated successfully, but these errors were encountered:
esturcke
changed the title
Immer breaks in browsers with Proxy support if they don't have Proxy.revocable`
Immer breaks in browsers with Proxy support if they don't have Proxy.revocable
Oct 4, 2019
🐛 Bug Report
Immer does not work in browser with support for
Proxy
, but notProxy.revocable
, for example Firefox 24 (which we unfortunately need to support).Firefox 24 reports:
To Reproduce
git clone [email protected]:esturcke/bug-immer-ff24.git
yarn build
serve -s build
Expected behavior
The page should render "Hello Immer".
Link to repro
https://github.com/esturcke/bug-immer-ff24
Environment
setUseProxies(true)
setUseProxies(false)
(ES5 only)Potential Fix
Maybe fall back in the non-Proxy version if
Proxy.revocable
is undefined:The text was updated successfully, but these errors were encountered: