Salta ai contenuti
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Missing hint on client:only directive.

Questi contenuti non sono ancora disponibili nella tua lingua.

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:

Contribuisci

A cosa stai pensando?

Crea una Issue su GitHub

Il modo più rapido per segnalare un problema al nostro team.

Comunità