Skip to main content

FAQs

I'm trying to use NextJS and running into issues. What do I do?

NextJS is typically rendered server side and Dromo is rendered client side, you may need to dynamically import the component to load it without SSR. As an example, you can create a wrapper React component for the Dromo component and then use it as the following:

import dynamic from "next/dynamic";

const DromoNoSSR = dynamic(
() => {
return import('../components/DromoWrapper');
},
{ ssr: false }
);

And then use the component as: <DromoNoSSR />.