Skip to content

[bug]: UseSpring() Not firing in NextJS 14 #2361

Open
@hq-aw

Description

@hq-aw

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.5

What's Wrong?

UseSpring() is not firing in NextJS 14 dev environment.

Using the first example from the docs:
https://codesandbox.io/p/devbox/bold-andras-ymxghg

To Reproduce

Use the NextJS 14 Starter, create a simple component with useSpring, run npm run dev

Expected Behaviour

The element should animate.

Link to repo

https://codesandbox.io/p/devbox/bold-andras-ymxghg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions