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
I did some investigating and it seems that window.kendo has no properties/functions defined like it did before. Is there a possible work around for this?
EDIT: using version 19.23.718
EDIT2: For now, I've shifted to using the Html5 report viewer as described here: https://github.com/telerik/reporting-docs/blob/master/knowledge-base/how-to-use-html5-viewer-in-react-js.md