Как добавить ключ к каждому тегу HTML в списке React
//if you have a list of html tags passed like a prop to a component maybe
// you will get the each child in a list should have a unique "key" error
// to solve that you can wrap every html element in the list with a <Fragment>
props.htmlElementsList.map(item => {
return(
<Fragment key={anykey}>{item}</Fragment>
)
})
Johiny