react-bootstrap-table icon indicating copy to clipboard operation
react-bootstrap-table copied to clipboard

React warning: Don't set .props.clearSortCaret

Open chuchengcao opened this issue 11 years ago • 1 comments

I got this warning:Don't set .props.clearSortCaret of the React component. Instead, specify the correct value when initially creating the element or use React.cloneElement to make a new element with updated props.

vesion0.9.7, TableHeader.js:110.

I think React does not suggest modify props directly, maybe we can use React.cloneElement instead?

chuchengcao avatar Aug 13 '15 02:08 chuchengcao

Thanks for your remind, And in #25 issues also talk about the all warning in this component, Anyway I'll spend some time to fix it, thanks :)

AllenFang avatar Aug 13 '15 03:08 AllenFang