These are chat archives for chandu0101/scalajs-react-components

23rd
Feb 2016
Carlos Quiroz
@cquiroz
Feb 23 2016 22:13
While checking thoe demo for material ui, you can see that many produce the same warning:
Warning: Each child in an array or iterator should have a unique "key" prop.
I have the same on my own code though I’m setting the key explicitly
p.steps.steps.map ( si =>
          MuiListItem(key = s"step-${si.id}-${Math.random()}", leftIcon = ActionInput()())(s"Step ${si.id}")}
        )
Is the key not being propagated?