Closed AnesBkdm closed 3 weeks ago
Update: the exact same code (minus the obvious View <-> div adaptations) work on Desktop (Nextjs). Still no idea why it fails on Expo. Any idea?
Closing, your repo is too complicated, probably require a stackblitz to meaningfully look into this.
Which react-spring target are you using?
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
What version of react-spring are you using?
9.7.4
What's Wrong?
Changing the state does not change the ternary condition inside useSpring. However, the value initially rendered is correct.
To Reproduce
Used packages (package.json):
Code to reproduce:
Expected Behaviour
This should change the
recordZ
value.Writing a
console.log(recordZ)
andconsole.log(opened)
shows that the value does not move whatsoever even when theopened
state changes.Link to repo
-