devextreme-react icon indicating copy to clipboard operation
devextreme-react copied to clipboard

An issue arises from the window code.

Open Pixel-Tao opened this issue 2 years ago • 0 comments

https://github.com/DevExpress/devextreme-react/blob/65f8034ccc578d23b58c8fea46ed922f70eb6177/packages/devextreme-react/src/core/configuration/utils.ts#L34

image

image

This issue occurs in Next.js. It arises when the server-side rendering (SSR) cannot find the window object. I tried to make it render on the client-side (CSR), but the server still throws an error. Is there a solution?

Pixel-Tao avatar Jun 16 '23 05:06 Pixel-Tao