I have a React component that needs to break down this.props.children
in to chunks, and render each chunk in a wrapping element (i.e. a grid of child components).
I'm following airbnb's React linting, which includes a rule that prevents me using the array index as a key:
react/no-array-index-key : Do not use Array index in keys
This rule specifies I need a unique key for each set of children that is not the array index - but I have no other identifier that I can use.
Is it ok to ignore this rule in such circumstances?