Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Photo, no description
Photo, no description
Hands on: TanStack Query! How TanStack can replace resources in your Angular App. October 28, 4:30 PM UTC. Angular Space TV livestream with Armen Vardanyan, on X, YouTube, Twitch and LinkedIn.
TypeScript code in books-api.ts: an Angular service whose book(id) method returns TanStack Query's queryOptions, with the queryOptions line highlighted:

@Injectable({ providedIn: 'root' })
export class BooksApi {
  private readonly http = inject(HttpClient);

  book(id: number) {
    return queryOptions({
      queryKey: ['book', id],
      queryFn: () => lastValueFrom(this.http.get<Book>(`/api/books/${id}`)),
      staleTime: 30_000,
    });
  }
}
Hands on: TanStack Query! How TanStack can replace resources in your Angular App. October 28, 4:30 PM UTC. Angular Space TV livestream with Armen Vardanyan, on X, YouTube, Twitch and LinkedIn.
Hands on: TanStack Query! How TanStack can replace resources in your Angular App. October 28, 4:30 PM UTC. Angular Space TV livestream with Armen Vardanyan, on X, YouTube, Twitch and LinkedIn.
Photo, no description