Posts

@switch (postsQuery.status()) { @case ('pending') { Loading... } @case ('error') { Error: {{ postsQuery.error()?.message }} } @default {
@for (post of postsQuery.data(); track post.id) {

{{ post.title }}

}
} }
@if (postsQuery.isFetching()) { Background Updating... }