diff options
Diffstat (limited to 'packages/integrations/react/static-html.js')
-rw-r--r-- | packages/integrations/react/static-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/react/static-html.js b/packages/integrations/react/static-html.js index 37fda1983..e319a40c7 100644 --- a/packages/integrations/react/static-html.js +++ b/packages/integrations/react/static-html.js @@ -7,7 +7,7 @@ import { createElement as h } from 'react'; * As a bonus, we can signal to React that this subtree is * entirely static and will never change via `shouldComponentUpdate`. */ -const StaticHtml = ({ value, name, hydrate }) => { +const StaticHtml = ({ value, name, hydrate = true }) => { if (!value) return null; const tagName = hydrate ? 'astro-slot' : 'astro-static-slot'; return h(tagName, { |