om

Please ask the channel first, not @dnolen directly!
wilkerlucio 2017-07-31T13:29:23.342375Z

@ghopper but as a recommendation, try to avoid nesting, I figure that if you keep your local database flat you will have an easier time managing it

timovanderkamp 2017-07-31T14:31:00.573972Z

Using the (om/children) function will basically always result into the react keys warning, saying that you must provide an unique key property for every element in the list. I thought a simple (apply dom/div (om/children this)) would prevent the warning from happening but it doesnt seem to work. Is the only solution to provide a unique key prop for each element?

roklenarcic 2017-07-31T15:08:08.057813Z

I think it only needs to be unique for a specific list

roklenarcic 2017-07-31T15:08:49.084662Z

so using numeric IDs from 0...n for each element in the list is OK

rarous 2017-07-31T18:03:25.494366Z

@roklenarcic not always true. keys has to be unique if items can be reordered between rerenders.

roklenarcic 2017-07-31T18:13:41.858947Z

I don't get a warning if I reuse keys in two separate lists