Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1249·react-vis

React does not recognize some props because of camelCase

Author: qrobinCreated Sep 23, 2019Updated Jan 20, 2023
Warning: React does not recognize the `_stackBy` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `_stackby` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    in div (at HistogramChart.js:351)
    in div (created by XYPlot)
    in XYPlot (created by FlexibleXYPlot)
    in div (created by FlexibleXYPlot)

This is happening for many more properties. How to eliminate these warnings?

Thanks

Source: uber/react-vis

View original on GitHubView discussion on GitHub