facebookexperimental/Recoil
View on GitHub[React Native] "set" functions don't properly update the state on React Native release builds
Open
#1068 opened on Jun 13, 2021
help wantednative
Description
Using RN 0.64 and Recoil 0.3.1
This code works perfectly in debug mode, but the "setUser" function doesn't do its job on release builds.
Using selectors, or simply getting the state from the atom, using useRecoilValue or useRecoilState... nothing works.
The app has no specific behavior defined in debug or release mode. So the results should be rigorously the same.
setUser is defined here:


