Open tplorts opened 10 months ago
I believe this is a regression introduced in 0.7.7 specifically https://github.com/facebookexperimental/Recoil/commit/cff501505dc0491089627622fb1c677dba3c21e1
The problem seems to be that isSSR is evaluating to true in the react native environment, thus executing the this resolver delete statement: https://github.com/facebookexperimental/Recoil/blob/dba6c40b8f2305904abdcacd1f191bc9153812d7/packages/recoil/hooks/Recoil_Hooks.js#L69-L75
isSSR
Not sure if that's a new thing - I was just trying this out with react-native 0.72.3 so that may be due to a recent change in react native.
PR coming in a moment
I believe this is a regression introduced in 0.7.7 specifically https://github.com/facebookexperimental/Recoil/commit/cff501505dc0491089627622fb1c677dba3c21e1
The problem seems to be that
isSSR
is evaluating to true in the react native environment, thus executing the this resolver delete statement: https://github.com/facebookexperimental/Recoil/blob/dba6c40b8f2305904abdcacd1f191bc9153812d7/packages/recoil/hooks/Recoil_Hooks.js#L69-L75Not sure if that's a new thing - I was just trying this out with react-native 0.72.3 so that may be due to a recent change in react native.
PR coming in a moment