do you know if there would be any caveat on building this in nextjs?
There is one actually. You might need to import your webgl scene with const WebglNoSSR = dynamic(() => import("../components/Scene"), { ssr: false }); depending on what you do with it.
const WebglNoSSR = dynamic(() => import("../components/Scene"), { ssr: false });
I do not see any. At the end of the day, this is just JavaScript written with the expressiveness of React.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
do you know if there would be any caveat on building this in nextjs?
There is one actually. You might need to import your webgl scene with
const WebglNoSSR = dynamic(() => import("../components/Scene"), {
depending on what you do with it.ssr: false
});
I do not see any. At the end of the day, this is just JavaScript written with the expressiveness of React.