Skip to content

Missing hint on client:only directive.

NoClientOnlyHint: Unable to render COMPONENT_NAME. When using the client:only hydration strategy, Astro needs a hint to use the correct renderer.

client:only components are not run on the server, as such Astro does not know (and cannot guess) which renderer to use and require a hint. Like such:

<SomeReactComponent client:only="react" />

See Also:

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community
京ICP备15031610号-99