We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6461999 commit 80283eaCopy full SHA for 80283ea
src/pretty.js
@@ -90,11 +90,11 @@ function _renderToStringPretty(
90
return rendered;
91
}
92
93
- if (options[DIFF]) options[DIFF](vnode);
94
-
95
// VNodes have {constructor:undefined} to prevent JSON injection:
96
if (vnode.constructor !== undefined) return '';
97
+ if (options[DIFF]) options[DIFF](vnode);
+
98
let nodeName = vnode.type,
99
props = vnode.props,
100
isComponent = false;
0 commit comments