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

[v9] Migration guide #3410

Open
krispya opened this issue Dec 6, 2024 · 4 comments
Open

[v9] Migration guide #3410

krispya opened this issue Dec 6, 2024 · 4 comments

Comments

@krispya
Copy link
Member

krispya commented Dec 6, 2024

The WIP migration guide is here: https://github.com/pmndrs/react-three-fiber/blob/v9/docs/tutorials/v9-migration-guide.mdx

If you have questions you want to see answered in a migration guide feel free to post them here!

@krispya krispya pinned this issue Dec 13, 2024
@SelfhostedPro
Copy link

I had some trouble fully understanding how to extend. The docs are a bit too concise. I think it would be a good idea to separately define how things were before and how things should be now.

In the meantime if someone is looking for how, I've copied one of the examples here and noted the relevant files: https://github.com/SelfhostedPro/react-three-fiber-next-15-typescript

@RektTillNoon
Copy link

Any reason why we can't just run codemod to update most of the library?

npx codemod@latest react/19/migration-recipe

@RektTillNoon
Copy link

Also is this upgrade to v9 being actively worked on?

@krispya
Copy link
Member Author

krispya commented Dec 27, 2024

The only breaking changes are TypeScript related.

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

No branches or pull requests

3 participants