|
<head>
</head> |
Hi Ditchford,Most welcome. We have provided support to render the Syncfusion components in Blazor native for best user experience. Hence, we request you to kindly include the lodash script in the HEAD element of the ~/Pages/_Host.cshtml page for server side blazor application. In case, if you are using WASM application, include it in the HEAD element of the ~/wwwroot/index.html page. Hereafter rendering of Syncfusion controls from version 18.4.30 requires this script reference.
<head></head>Kindly revert us if you have any concerns.Regards,Durga G
Hello,
We are following the advice to include the lodash.min.js script to support rendering syncfusion components. However we are currently experiencing an issue in which eslint is noting there is a bad practice in the lodash library. More context here: no-new-func - ESLint - Pluggable JavaScript Linter
is there any workaround that may involve not relying on lodash?
Hi John,
In latest version, there is no need of referring the lodash script reference in your application. We suggest you to refer the blazor scripts as CDN link with version number to use latest scripts. Please check with the below release notes for more information. We have prepared sample in latest version and attached for your reference. Please check with below snippet and sample.
|
<head> <script src="https://cdn.syncfusion.com/blazor/20.2.36/syncfusion-blazor.min.js" type="text/javascript"></script> </head> |
Release Notes : https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes
UG : https://blazor.syncfusion.com/documentation/common/adding-script-references
Please revert us if you have any concerns.
Regards,
Durga Gopalakrishnan.