Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: react-spring support for v8 #553

Open
littlehaker opened this issue Nov 25, 2024 · 4 comments
Open

Feature Request: react-spring support for v8 #553

littlehaker opened this issue Nov 25, 2024 · 4 comments
Labels
v8 Issues related to Pixi React v8

Comments

@littlehaker
Copy link

Description

The v8 version of @pixi/react has some breaking changes. It seems that @pixi/react-animated is no longer suitable for this version.

Are there any examples of react-spring being used for v8 version?

Or how can I use the animated function from react-spring to lift @pixi/react components?

@trezy trezy added enhancement New feature or request v8 Issues related to Pixi React v8 and removed enhancement New feature or request labels Dec 13, 2024
@thejustinwalsh
Copy link
Collaborator

The approach used in react-spring/three should be able to be used in @pixi/react v8

Dependencies:

Or how can I use the animated function from react-spring to lift @pixi/react components?

Using react-spring/three as a guide, you should be able to use applyProps and gather the primitives from the pixi.js exports to build an animated HOC.

@juniorbatistadev
Copy link

So there's no plan to update @pixi/react-animated to work with v8?

@trezy
Copy link
Collaborator

trezy commented Jan 24, 2025

@juniorbatistadev There are no plans yet because, as @thejustinwalsh mentioned, React Spring doesn't yet work with React 19. Once there's a React 19 compatible release of React Spring, we'll absolutely look into supporting it.

That said, there are other animation libraries (i.e. Motion One) which may also be worth supporting. We likely won't get deep into any of these until @pixi/react@v8 gets a full release.

@juniorbatistadev
Copy link

Motion support would be a dream come true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 Issues related to Pixi React v8
Projects
None yet
Development

No branches or pull requests

4 participants