yang-wei / rd3

react + d3
https://yang-wei.github.io/rd3/
MIT License
319 stars 83 forks source link

Warning on Bar Chart #59

Open Rinosh opened 8 years ago

Rinosh commented 8 years ago

Warning: Unknown props hoverAnimation, dataPoint, handleMouseOver, handleMouseLeave on tag. Remove these props from the element. For details, see https://fb.me/react-unknown

I implemented all charts according to their respective official examples and this is the only one that throws an alert.

BTW, I am displaying charts over a react-grid-layout.

I am just a newbie, but I am willing to help you as per request, just need some guidance on react grounds though.

ebertmi commented 8 years ago

The warning comes from React 15.1+. In previous versions unknown props have been just ignored, now they should not be set on the element as rd3 currently does.

So in one of the next versions of rd3, those will disappear

j-nolan commented 8 years ago

Duplicate of #52

fschr commented 8 years ago

Has this been resolved?

yang-wei commented 8 years ago

no send me a pr and I would like to merge =) @gragas