react-spring - react-spring/three - react-three/fiber conflict #1625
-
Hey. I am using react-spring - react-spring/three and react-three/fiber in my react SPA project.
The problem is that i think react-spring and react-spring/three are conflicting each other, so that animation created with react-spring is not working at all, it's just frozen. I am using the following versions: Update: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
firstly, I would encourage you to use Globals.assign({
frameLoop: 'always',
}) I think this is an open issue, but no ones brought forward a good suggestion on how to resolve it so it's hanging there at the moment. Hopefully this helps you though! |
Beta Was this translation helpful? Give feedback.
firstly, I would encourage you to use
@react-spring/web
for your web needs.Secondly,
three
sets a Global that enforces the frameloop to be controlled by r3f. You can back of it of this to use it's own nativeraf
by doing:I think this is an open issue, but no ones brought forward a good suggestion on how to resolve it so it's hanging there at the moment. Hopefully this helps you though!