Fork me on GitHub
#devcards
<
2015-09-09
>
wei01:09:42

does anyone get the react warning when using devcards? Warning: Each child in an array or iterator should have a unique "key" prop.

wei01:09:51

also, having some trouble getting live reloading with Reagent. looking at this particular example:

(defcard test-card
  "*Code taken from Reagent readme.*"
  (dc/reagent bmi-component)
  {:height 180 :weight 50}
  {:inspect-data true :history true})

wei01:09:37

when I edit bmi-component, figwheel reloads but I don’t see the changes in the browser

bhauman01:09:42

@wei that may be a bug

wei01:09:17

was trying to see if that’s related to the key prop warning. but the sablono example works fine

bhauman01:09:12

The key prop warning is really nothing

bhauman01:09:40

@wei I'll take a look at the reagent example tomorrow :)

darwin08:09:43

I’m also seeing that key prop warning, react in my page is v0.13.3

bhauman16:09:28

@wei just fixed that devcards bug

bhauman16:09:40

@wei reagent should work now

bhauman16:09:33

@darwin: yeah that is coming from somewhere in the devcards interface. I'll track it down. probably the nav

wei17:09:10

@bhauman that was fast! I see you commented out dont-update haha

wei17:09:11

@bhauman would you mind pushing a snapshot when you get a chance?

bhauman17:09:35

isn't it working?

wei19:09:32

@bhauman: works. thanks!!

wei19:09:52

I didn’t see the version number change, forgot how snapshots worked