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

react.backbone

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react.backbone - npm Package Compare versions

Comparing version 0.9.0 to 0.9.2

2

package.json
{
"name": "react.backbone",
"version": "0.9.0",
"version": "0.9.2",
"author": "Clay Allsopp <clay.allsopp@gmail.com>",

@@ -5,0 +5,0 @@ "scripts": {

@@ -36,3 +36,3 @@ (function(root, factory) {

var triggerUpdate = behavior.updateScheduler(function() {
if (component.isMounted()) {
if (component._isMounted) {
(component.onModelChange || component.forceUpdate).call(component);

@@ -72,2 +72,4 @@ }

componentDidMount: function() {
this._isMounted = true;
// Whenever there may be a change in the Backbone data, trigger a reconcile.

@@ -101,2 +103,4 @@ subscribe(this, modelOrCollection(this.props), customChangeOptions);

componentWillUnmount: function() {
this._isMounted = false;
// Ensure that we clean up any dangling references when the component is destroyed.

@@ -103,0 +107,0 @@ unsubscribe(this, modelOrCollection(this.props));

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