Understanding unique keys for array children in React.js

后端 未结 12 1300
时光取名叫无心
时光取名叫无心 2020-11-21 05:45

I\'m building a React component that accepts a JSON data source and creates a sortable table.
Each of the dynamic data rows has a unique key assigned to it but I\'m stil

12条回答
  •  一向
    一向 (楼主)
    2020-11-21 06:47

    I was running into this error message because of <> being returned for some items in the array when instead null needs to be returned.

提交回复
热议问题