Errors in button react component and chunks

Hi
1. In my react app using typescript, I added syncfusion button package using "npm install @syncfusion/ej2-react-buttons --save" and used in my page like this
import React from 'react';
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
class HomePage extends React.Component {
render() {
return (
HomeButton
);
}
}
export default HomePage;
***********************************
I am getting the following error immediately on console

The same error happens when I used DropDownButtonComponent,RadioButtonComponent, etc..If I remove using these components there are no errors and it works fine.
*************************
2.When I used TextBoxComponent, AutoCompleteComponent, DatePickerComponent,etc, I am getting the error
Each child in a list should have a unique "key" prop.
************************
3.When I refresh the page I sometimes notice too many XHR calls for chunk.js, chunk.js.map and it slows down my page and makes the page unresponsive.
All these are happening for past 3-4 days after upgrading package version to18.3.35...I even tried reverting to the old version by reverting the package version, removing node_modules folder and installing the old package but the problem persist.
My sample code is given above. Please help me on this. Thanks for your help in advance.

2 Replies

SK Satheesh Kumar October 9, 2020 05:24 PM UTC

Hi

Just another sample to showcase the error. In the same link https://stackblitz.com/edit/react-yzdi7m-yx59cz?file=index.js , add a button component and open the console to see the error. Or refer the link https://stackblitz.com/edit/react-yzdi7m-nxfovy?file=index.js


Thanks



SP Sangeetha Priya Murugan Syncfusion Team October 12, 2020 07:20 AM UTC

 
Hi Satheesh, 
 
Thank you for contacting syncfusion support. 
 
We have checked your issue, we are able to reproduce it in our end. We have confirmed that the issue is defect and logged a defect report for the same. The fix for this issue is estimated to be available in our upcoming patch release and appreciate your patience until then.  
  
Regards, 
Sangeetha M 



Loader.
Up arrow icon