Skip to content

Commit

Permalink
Fix condition for COMMENT_NODEs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeurer committed Jun 26, 2019
1 parent 93a6a47 commit 5b24cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/src/client/ReactDOMHostConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ function isHydratableNode(node: Node) {
}
if (enableSuspenseServerRenderer) {
if (nodeType === COMMENT_NODE) {
return false;
return true;
}
const nodeData = (node: any).data;
return (
Expand Down

0 comments on commit 5b24cfd

Please sign in to comment.