Skip to content

Commit 056a890

Browse files
authored
Call options.vnode on rerender (#4209)
1 parent 2f31796 commit 056a890

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/component.js

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ function renderComponent(component) {
130130
if (parentDom) {
131131
const newVNode = assign({}, oldVNode);
132132
newVNode._original = oldVNode._original + 1;
133+
if (options.vnode) options.vnode(newVNode);
133134

134135
diff(
135136
parentDom,

0 commit comments

Comments
 (0)