Comparing version 1.0.2 to 2.0.0
var React = require('react'); | ||
var render = require('react-dom').render; | ||
var D = React.DOM; | ||
@@ -52,3 +53,3 @@ | ||
setInterval(function() { | ||
React.render( | ||
render( | ||
app(states[++index % states.length]), | ||
@@ -55,0 +56,0 @@ document.getElementById('app')); |
{ | ||
"name": "react-box", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "Wraps repeatedly rerendered components preserving their nodes in real DOM to reduce paints", | ||
@@ -22,9 +22,10 @@ "main": "box.js", | ||
], | ||
"dependencies": { | ||
"react": "^0.12.1" | ||
"peerDependencies": { | ||
"react": "^0.14.0" | ||
}, | ||
"devDependencies": { | ||
"http-server": "^0.7.4", | ||
"react-dom": "0.14.0", | ||
"watchify": "^2.1.1" | ||
} | ||
} |
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
6832
116
3
+ Addedasap@2.0.6(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedfbjs@0.6.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedreact@0.14.10(transitive)
+ Addedua-parser-js@0.7.39(transitive)
+ Addedwhatwg-fetch@0.9.0(transitive)
- Removedreact@^0.12.1
- Removedreact@0.12.2(transitive)