v2 rangeSlider/Rheostat: flattenChildren warnings
See original GitHub issueBug: What is the current behavior? Thousands of warnings is js console. On initial load and with every adjustment to a slider:
warning.js:36 Warning: flattenChildren(...): Encountered two children with the same key, `3:$0.00001`. Child keys must be unique; when two children share a key, only the first child will be used.
in div (created by Rheostat)
in Rheostat (created by Slider)
in Slider (created by Slider-HeaderFooter)
in div (created by Slider-HeaderFooter)
in div (created by Slider-HeaderFooter)
in Slider-HeaderFooter (created by HeaderFooter-AutoHide)
in div (created by HeaderFooter-AutoHide)
in HeaderFooter-AutoHide
What is the version you are using? Always use the latest one before opening a bug issue. v2.0.0-beta.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Warning: flattenChildren(...): Encountered two children
The quirk in your code is that the indexOf()!=-1 only works if the passed string is not empty. So 'Milan'.indexOf('M') // = 0...
Read more >flattenChildren(...): Encountered two children with the same key
React Warning: flattenChildren(...): Encountered two children with the same keyCould someone please explain how to fix this error Warning: flattenChildren(.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iam4x no
flattenChildren
warnings inv2.0.0-beta.4
, Thanks!@iam4x Here it is, in the flesh (I built in dev env): https://paddling.fusionarydev.com/gear/category/kayaks/recreational/