We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5c001 commit f8f5d23Copy full SHA for f8f5d23
packages/runtime-dom/src/modules/props.ts
@@ -15,7 +15,7 @@ export function patchDOMProp(
15
if (key === 'innerHTML' || key === 'textContent') {
16
// null value case is handled in renderer patchElement before patching
17
// children
18
- if (value === null) return
+ if (value == null) return
19
el[key] = value
20
return
21
}
0 commit comments