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

Next JS #85

Closed
desduvauchelle opened this issue Feb 12, 2024 · 1 comment
Closed

Next JS #85

desduvauchelle opened this issue Feb 12, 2024 · 1 comment

Comments

@desduvauchelle
Copy link

desduvauchelle commented Feb 12, 2024

Thanks for the work!

Doesn't work in Next JS. Any chance you have some docs/examples of usages in Next JS?

I tried to do a dynamic import but then I don't have access to initParticlesEngine, when I try to do a dynamic import of that, it says it's a hook that cannot be used inside a useEffect.

Any help appreciated.

@matteobruni
Copy link
Contributor

There are two samples using Next.js here: https://github.com/tsparticles/react/tree/main/apps

Be aware that currently there's a known issue: #83

@matteobruni matteobruni closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
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