1.0.12 • Published 8 years ago
react-valid-props v1.0.12
react-valid-props
Install
npm i --save react-valid-props
Use it
If you haven't already - when you upgrade to react 15.2 - you may start getting a few unknown prop errors - problem now solved
import filterProps from 'react-valid-props'
<div {...filterProps(this.props)}></div>
Simple!