open-source-labs / Reactime

Developer tool for time travel debugging and performance monitoring in React applications.
https://www.reacti.me
MIT License
2.17k stars 200 forks source link

Add missing key attribute for <option> list in nodeOptions datalist #260

Closed aspiers closed 1 year ago

aspiers commented 2 years ago

The Select dropdown in the Map view provides a list of nodes to select, but React requires that every element of a list has a key attribute to enable its DOM tracking / reconciliation.

So add the missing key attribute to avoid this warning:

react.development.js:315 Warning: Each child in a list should have a unique "key" prop.
llam722 commented 1 year ago

Hi aspiers, This seems to have been resolved in Reactime v 13.0 Closing this PR. Thanks!