Closed dmcollie closed 9 years ago
Although this is proves to be pretty harmless in the actual production code we use reforms in, the warnings are, indeed, irritating. The problem with the above code seems that group-title
misses a :key
. I'll comb through the code again before releasing 0.4.0 and will do my best to add missing keys.
For now, you should be able to add a unique key to group-title (and any other node that misses it), e.g.:
(f/group-title {:key "gt-your-details"} "Your details")
As a rule, every helper accepts an optional attribute hash as the first argument, letting you specify stuff such as additional CSS classes, React key and other element-specific attributes.
That's fixed the issue - many thanks.
I'm using version 0.3.0.
I'm getting warnings in the Javascript console like follows:
The code that produces these warnings follows:
How can I fix this?