O'Reilly logo
  • Ben Barreth thinks this is interesting:

Card

From

Cover of Pro React

Note

More recent versions of React (I'm currently using 0.14.7) give an error here: Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of List.

To fix this, add a key attribute of key={card.id} to the Card component.