Open spacecat opened 3 months ago
Hi,
I searched the issues here and someone mentioned to use ssr: false using a dynamic import but I can't get it to work.
const createStore = dynamic( () => import("little-state-machine").then((mod) => mod.createStore), { ssr: false }, );
What is the correct way to import LSM in a Next.js 14 (app router) app?
Hi,
I searched the issues here and someone mentioned to use ssr: false using a dynamic import but I can't get it to work.
What is the correct way to import LSM in a Next.js 14 (app router) app?