DEV Community

Discussion on: Creating a rudimentary pool table game using React, Three JS and react-three-fiber: Part 2

Collapse
 
vasco3 profile image
JC

do you know if there would be any caveat on building this in nextjs?

Collapse
 
follow_cy profile image
ᴄʏ

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.

Collapse
 
manan30 profile image
Manan Joshi

I do not see any. At the end of the day, this is just JavaScript written with the expressiveness of React.