Tagged: nextjs, react, typescript
I am trying smart grid in Next.js and getting this error window is not defined. Even though I am dynamically importing the grid following the example here: https://www.htmlelements.com/docs/grid-nextjs/
Hi Bilal Yasin,
We will need a complete sample which either in stackblitz or codesandbox which shows the reported behavior.
Smart UI Team
Here you go Stackblitz link with the issue: https://stackblitz.com/edit/github-kap7fe?file=pages/index.tsx
I updated the sample – https://stackblitz.com/edit/github-kap7fe-vfqtjf?file=pages%2Findex.tsx