Skip to content
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Invalid component arguments.

Example error messages:
InvalidComponentArgs: Invalid arguments passed to <MyAstroComponent> component.

Astro components cannot be rendered manually via a function call, such as Component() or {items.map(Component)}. Prefer the component syntax <Component /> or {items.map(item => <Component {...item} />)}.

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community