Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-class

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-class - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc