Trying to use react-spring and this animation doesn't loop.
Answered
moonbrew posted this in #help-forum
moonbrewOP
As far as I copied the code correctly. The example I am trying to replicate is: https://codesandbox.io/s/8x50e.
Answered by moonbrew
Looks like this is related to https://github.com/pmndrs/react-spring/issues/2146
It looks like a
It looks like a
npm run dev mode only issue and in can be fixed for that by temporarily disabling react strict mode:5 Replies
moonbrewOP
I do get a warning saying:
Prop style did not match. Server: "background:var(--step0)" Client: background:rgba(255, 97, 93, 1)"The Animation just stays at this screen.
moonbrewOP
Looks like this is related to https://github.com/pmndrs/react-spring/issues/2146
It looks like a
It looks like a
npm run dev mode only issue and in can be fixed for that by temporarily disabling react strict mode:Answer
moonbrewOP
const nextConfig = {
reactStrictMode: false
}
module.exports = nextConfig