react-class
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "react-class", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A carefully crafted base class for all your React components ", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -87,4 +87,12 @@ # react-class | ||
### Why would I use it | ||
### What problems does it solve? | ||
Generally you want your components to have a default style (of course, which can be overriden). | ||
Very often you also want a default `className` to be applied all the time to your components, no matter if the user of your components passes a `className` attribute or not in the props. | ||
Also, autobinding is a nice feature! | ||
### What if I want to remove it in the future? | ||
`react-class` is a very thin layer around `React.Component`, so just in case you decide removing it in the future, you'll be safe and will only have to do very minor code changes. | ||
@@ -91,0 +99,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15566
105