diff --git a/package.json b/package.json
index 033237d..38c9c0d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-activation",
- "version": "0.11.0",
+ "version": "0.11.1",
"description": " for React like in vue",
"main": "index.js",
"scripts": {
@@ -42,7 +42,7 @@
"dependencies": {
"create-react-context": "^0.3.0",
"hoist-non-react-statics": "^3.3.0",
- "react-node-key": "^0.3.1",
+ "react-node-key": "^0.4.0",
"szfe-tools": "^0.0.0-beta.7"
},
"devDependencies": {
diff --git a/src/core/withAliveScope.js b/src/core/withAliveScope.js
index 2f101a5..72597f7 100644
--- a/src/core/withAliveScope.js
+++ b/src/core/withAliveScope.js
@@ -30,7 +30,7 @@ export const expandKeepAlive = (KeepAlive) => {
return isOutsideAliveScope ? (
get(props, 'children', null)
) : (
-
+
{(nkId) => {
const id = props.cacheKey || nkId