stoeffel / react-cond

Lisp-Style conditional rendering in react.
MIT License
177 stars 9 forks source link

react 0.15-rc2 #25

Open beckend opened 8 years ago

beckend commented 8 years ago

Tried example:

<Cond value={true}>
  {[ isTrue, <h1>true</h1>]}
</Cond>

Works but with warning in console:

Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `TemplateEditorAce`. See https://fb.me/react-warning-keys for more information.
Koleok commented 8 years ago

I am having the same issue with this