I built a default ASP .NET Core Web Application with React support enabled.
This built and ran.
I then used the example from the Kendo React Grid - https://www.telerik.com/kendo-react-ui/components/grid/
to add a Grid to the example code, replacing a table.
If I run the sample in IE 11 I get an exception in the following function :
export function registerForLocalization(component) {
var ctx = {
kendoLocalizationService: PropTypes.object
};
if (component.contextTypes) {
Object.assign(component.contextTypes, ctx); <<<<<<<<<<<<<<<<<<<< unsupported in IE
}
else {
component.contextTypes = ctx;
}
This seems to be because the Object.assign function is not supported in IE.
If I run in Edge or Chrome, the page loads, then it quickly fills the page with Error messages such as :
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:10:38
TS1005: '=' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:12:46
TS1005: ';' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:12:75
TS1005: ';' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:12:99
TS1005: ';' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:14:54
TS1005: ';' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:14:78
TS1005: ';' expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:14:81
TS1109: Expression expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:14:97
TS1109: Expression expected.
ERROR in [at-loader] ..\..\..\node_modules\@types\prop-types\index.d.ts:14:122
Any ideas how to resolve either of these issues ?
Is there a working example of using the controls with ASP .NET Code Web in React ?
Thanks,
Dave