dynamic import dynamic variables
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
This won't work
But if i change from to be
const from = 'next/link';
const Link = dynamic(() => import(from).then((mod) => mod), { ssr: false });But if i change from to be
next/link will workconst Link = dynamic(() => import('next/link').then((mod) => mod), { ssr: false });