I just migrated from building with react-scripts to Vite, as it seems react-scripts is deprecated. After the change, the react report viewer is not functioning correctly. Browser console shows:
Instantiation of Kendo TreeView as Document Map threw an exception TypeError: $kendoHtmlEncode is not a function
Uncaught (in promise) TypeError: $kendoHtmlEncode is not a function