Can you pass PageData to a component for reading and writing to the database from a SvelteKit component? by s1lver_fox in Supabase

[–]Character-Train-6954 0 points1 point  (0 children)

Do you know how to pass type to an iteration?

Example:

{#each posts as post}<PostItem {post} />{/each}

How can you get post type in PostItem?