react-flexbox-grid
react-flexbox-grid copied to clipboard
printer.js:170 Warning: Unknown props
Using the package found at lifefilm:react-flexbox-grid, I get this error because the props are not cleaned up before assigning them to the element.
The form that should be used (which would be faster anyhow) is
const {
xs, xsOffset,
sm, smOffset,
md, mdOffset,
lg, lgOffset,
reverse,
className,
tagName,
children,
...others
} = this.props;
Then assign others as props to the element, this will result in props that are clean, and will get rid of the error.
I could prepare a PR today if no one wants to fix this... the warnings are driving me crazy!
Finally got some time to clone look closer into this issue, and it seems that I am loading from Atmosphere instead of npm. I'm the author of this package has not updated to the lastest.
I noticed this is already fixed in the latest version of this package