Hi @kirtannpl, we’re able to find the root cause. Seems caused by the lottie-web
package, which is the dependency of lottie-react
being installed to the reproduction.Here we found that they call the document.createElement
in this helper. And then being used here in ImageLoader, and always initialized in Animation.This will break SSR. Hence, dynamically importing the package solves the issue, see the code changes below:
Deployed version: https://personal-website-rho-one-14.vercel.app/