Skip to content

react-spring - react-spring/three - react-three/fiber conflict #1625

Answered by joshuaellis
subaruMax asked this question in Support
Discussion options

You must be logged in to vote

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 native raf by doing:

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!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@subaruMax
Comment options

Answer selected by subaruMax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants