You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This type of schema is great for validating content and enabling autocompletion.
However, it quickly becomes redundant with the component prop definitions themselves (UPageHero, UPageFeatures, etc.).
✨ Idea
It would be great to allow an API like:
sections: z.array(z.component('UPageFeatures'))
Where the schema is automatically generated based on the component props.
This would eliminate the need to manually maintain Zod schemas for each component.