![Introducing Dashboard Analytics](https://cdn.sanity.io/images/cgdhsj6q/production/af327c5bd94708db501516a75da6870aef894c64-2286x1522.png?w=400&fit=max&auto=format)
Product
Introducing Dashboard Analytics
We're introducing a new Analytics feature in the Socket dashboard so you can view changes in your organization's and repositories' alerts over time.
react-addons
Advanced tools
Simple packaging of react addons to avoid fiddly 'react/addons' npm module.
The bug causing multiple (identical) versions of react is no longer present in React 0.10 with Browserify >= 4.
Rather than use this package, simply use require('react/addons')
in modules that require addons.
This is an npm package containing only the react addons, and not the full react build
itself (although it requires it). This will play much more nicely with browserify
and other build tools than the old require('react/addons')
style.
This package is a direct copy/paste of the files in lib/
, with the paths to /React
changed
to require the base react
module. If this module gets significantly out of date, it should
be simple to rebuild using the React source.
react
is a peerDependency of this module, so it won't add extra cruft to your project
and will work nicely with browserify.
// Previously, you might access React Addons with this path, which actually
// returns the entire React library, with addons accessible via the `addons` property.
// Unfortunately, this can confuse browserify and can add an extra 1MB (unminified)
// to your build.
var React = require('react/addons');
// Now, you can access it this way, separately from React itself,
// and enjoy the relatively small size (42kb unminified)!
var React = require('react');
var addons = require('react-addons');
// And the addons are available directly on the module, like so:
var classSet = addons.classSet;
// Now, you don't have to worry about changing your require statements
// throughout your app to use `react/addons`!
FAQs
Simple packaging of react addons to avoid fiddly 'react/addons' npm module.
The npm package react-addons receives a total of 579 weekly downloads. As such, react-addons popularity was classified as not popular.
We found that react-addons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We're introducing a new Analytics feature in the Socket dashboard so you can view changes in your organization's and repositories' alerts over time.
Security News
A new OpenSSF report uncovers critical gaps in secure software training, with 75% of new developers unfamiliar with secure practices, highlighting urgent educational needs.
Security News
The 2023 Python Developers Survey reveals key trends in packaging, web frameworks, and developer demographics, highlighting a shift toward innovative tools as the Python community diversifies and grows among less experienced developers.