Problem: You need to apply a key to a React fragment


Problem: You need to apply a key to a React fragment.

Solution: Use React.Fragment instead of <>.

View original on X