Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Apr 23, 2021
1 parent ec88035 commit 81e720a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compat/src/suspense.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ function detachedClone(vnode, detachedParent, parentDom) {
if (typeof effect._cleanup == 'function') effect._cleanup();
});

vnode._component.__hooks = null;
vnode._component.__hooks = {
_list: [],
_pendingEffects: []
};
}

vnode = assign({}, vnode);
Expand Down

0 comments on commit 81e720a

Please sign in to comment.