We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0e716 commit 2492ed1Copy full SHA for 2492ed1
docs/framework/angular/guides/placeholder-query-data.md
@@ -45,7 +45,7 @@ export class BlogPostComponent {
45
placeholderData: () => {
46
// Use the smaller/preview version of the blogPost from the 'blogPosts'
47
// query as the placeholder data for this blogPost query
48
- return queryClient
+ return this.queryClient
49
.getQueryData(['blogPosts'])
50
?.find((d) => d.id === this.postId())
51
},
0 commit comments