React 18 support

I'm able to properly render the spreadsheet in Next.js 12.2.5 / react 17.0.2 / react-dom 17.02 but when I bump react to 18.2 and react-dom to 18.2 with the same Next.js version I don't have the spreadsheet render at all.

Is react 18 not supported yet by the react components?

import { SpreadsheetComponent } from "@syncfusion/ej2-react-spreadsheet";

export default () => {
return (
<SpreadsheetComponent allowOpen={true} openUrl="/api/spreadsheet/open" />
);
};

1 Reply

SP Sangeetha Priya Murugan Syncfusion Team August 22, 2022 11:29 AM UTC

Hi Robert,


We have rendered the spreadsheet in react 18.2 version and the spreadsheet rendered properly in our end. Please find the link below.


Sample Link: https://stackblitz.com/edit/react-ts-zzjyje?file=index.tsx,package.json


Could you please check the above sample and replicate your issue in the above link and send back to us. Or else please share us the issue replicable sample. Based on that we will check and provide you a better solution quickly.


Regards,

Sangeetha M


Loader.
Up arrow icon