Currently block3d only works with client side rendering, which can be annoying to the user who then has to specify "use client"; when using it inside a nextjs project. On top of this, it makes it even more difficult to integrate with other React frameworks such as Remix and Gatsby.
Solution
We need to figure out how to add support for SSR and replace browser-only code with server side alternatives.
Start by
testing out the ssr field in the Rainbow kit and Wagmi configs.
Overview
Currently block3d only works with client side rendering, which can be annoying to the user who then has to specify "use client"; when using it inside a nextjs project. On top of this, it makes it even more difficult to integrate with other React frameworks such as Remix and Gatsby.
Solution
We need to figure out how to add support for SSR and replace browser-only code with server side alternatives.
Start by
ssr
field in the Rainbow kit and Wagmi configs.