Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
John Jenkins committed Jan 3, 2025
1 parent 44a0672 commit 877869b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/client-hydrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ const clientHydrate = (
$index$: childIdSplt[3],
$tag$: node.tagName.toLowerCase(),
$elm$: node,
// If we don't add the initial classes to the VNode, the first `vdom-render.ts`patch
// reconciliation won't try to reconcile them. Classes set on the node will be blown away.
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
// won't try to reconcile them. Classes set on the node will be blown away.
$attrs$: { class: node.className || '' },
});

Expand Down

0 comments on commit 877869b

Please sign in to comment.