canon-react icon indicating copy to clipboard operation
canon-react copied to clipboard

Upgrading to react v15.3.2 causes multiple unknown props warnings

Open sarahheredia opened this issue 8 years ago • 1 comments

When upgrading to support react v15.3.2 the components need to be updated not to pass custom attributes down to DOM elements.

screenshot 2016-11-14 09 43 29

sarahheredia avatar Nov 14 '16 17:11 sarahheredia

more info on the proper way to strip custom props out of passed in props that are being spread to DOM elements

https://facebook.github.io/react/warnings/unknown-prop.html

adampickeral avatar Nov 14 '16 19:11 adampickeral