Skip to content

[Bug] useId, react-dom/client, and react-dom/server errors in React 17 #2286

Closed
@WissamProgress

Description

@WissamProgress

I'm submitting a...

  • Regression report

Current behavior

Using KendoReact in React 17 results in errors related to the useId hook, react-dom/client, and react-dom/server. This could be due to bundler changes as this was working before.

Screenshot 2024-06-03 at 16 57 13

Expected behavior

KendoReact works in React 17 as it is a supported version.

Minimal reproduction of the problem with instructions

  1. Create a react 17 application
  2. import any package - shows the useId error
  3. import the Grid, Treelist, and PDF packages - shows the rest of the errors

Related GitHub issues: #2077 & #1954

Reported in 1653508

In Nextjs 15 RC

../../packages/pdf/src/grid/provideSaveGridPDF.tsx
Attempted import error: 'render' is not exported from 'react-dom' (imported as 'ReactDOM').
../../packages/pdf/src/treelist/provideSaveTreeListPDF.tsx
Attempted import error: 'render' is not exported from 'react-dom' (imported as 'ReactDOM').

Metadata

Metadata

Labels

BugItem which indicates that something is not workingKendoReactRegressionRegression bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions