This is a migrated thread and some comments may be shown as answers.

kendo-react-conversational-ui React Warning

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Antonios
Top achievements
Rank 1
Antonios asked on 16 Oct 2019, 06:09 PM

Basic use of the Kendo React Conversational UI, causes a React Warning

Warning: Each child in a list should have a unique "key" prop.
 
Check the render method of `NewMessage`. See https://fb.me/react-warning-keys for more information.
    in input (created by NewMessage)
    in NewMessage (created by Chat)
    in div (created by Chat)
    in Chat (created by App)

 

simply open in stackblitz the example on https://www.telerik.com/kendo-react-ui/components/conversationalui/ and check the developer tools console output.

 

I am not sure when this started to happen, because it was not an issue in the past but I noticed it recently...

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Oct 2019, 06:15 AM

Hello, Antonios,

Thank you for reporting this.

This is indeed a new warning caused by a new feature:

https://www.telerik.com/kendo-react-ui/components/conversationalui/custom-rendering/

We will add the missing key prop as soon as possible, and the warning will disappear:

https://github.com/telerik/kendo-react/issues/359

As it is just a warning, please feel free to use the current version, it should not affect the component.

Additionally, I have added some Telerik points to your account for bringing this to our attention.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Antonios
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or