react-keep-alive
Advanced tools
Comparing version
@@ -76,3 +76,7 @@ "use strict"; | ||
WrappedComponent.prototype.componentDidUpdate = function () { | ||
componentDidUpdate.call(this); | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
componentDidUpdate.call.apply(componentDidUpdate, [this].concat(args)); | ||
if (this._needActivate) { | ||
@@ -79,0 +83,0 @@ this._needActivate = false; |
@@ -64,3 +64,7 @@ var __assign = (this && this.__assign) || function () { | ||
WrappedComponent.prototype.componentDidUpdate = function () { | ||
componentDidUpdate.call(this); | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
componentDidUpdate.call.apply(componentDidUpdate, [this].concat(args)); | ||
if (this._needActivate) { | ||
@@ -67,0 +71,0 @@ this._needActivate = false; |
{ | ||
"name": "react-keep-alive", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Package will allow components to maintain their status, to avoid repeated re-rendering.", | ||
@@ -5,0 +5,0 @@ "author": "Shen Chang", |
279594
0.12%3004
0.27%