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

Using React-Konva in NextJS 15 #826

Open
maxime-carabina opened this issue Jan 8, 2025 · 4 comments
Open

Using React-Konva in NextJS 15 #826

maxime-carabina opened this issue Jan 8, 2025 · 4 comments

Comments

@maxime-carabina
Copy link

Hello,

I'd like to know if it's possible to use the package on a NextJS 15 application?

I've tried your example on a NextJS application (the example must be based on version 14), but I get an error.

Here is the error:

Screenshot 2025-01-08 at 15 39 02

Has anyone ever made this mistake?

@lavrton
Copy link
Member

lavrton commented Jan 8, 2025

Can you try to install the latest version of react-konva (released just now)? Do you see any differences?

@maxime-carabina
Copy link
Author

Can you try to install the latest version of react-konva (released just now)? Do you see any differences?

Just in case, do have need to use react:19.0?

And after, I will try your solution.

@lavrton
Copy link
Member

lavrton commented Jan 8, 2025

No, it is possible to use react 18 or react 19. But different versions of react-konva are required. The updated version should give you instructions.

@maxime-carabina
Copy link
Author

No, it is possible to use react 18 or react 19. But different versions of react-konva are required. The updated version should give you instructions.

It work now! !🎉

I would like to thank you for the reactivity 👌🏻

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

2 participants