Posts

@if (postsQuery.isPending()) { Loading... } @else if (postsQuery.isError()) { Error: {{ postsQuery.error().message }} } @else if (postsQuery.isSuccess()) {
@for (post of postsQuery.data(); track post.id) {

{{ post.title }}

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