-
Notifications
You must be signed in to change notification settings - Fork 3
[NextJS] configure query client like on main
#1591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| /* | ||
| * Prefetch the first tab (All) of the carousel | ||
| */ | ||
| await queryClient.prefetchQuery( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting rid of this because with a nonzero staletime, the featured course bookmarks are problematic: the resources are user-dependent, so they can't really be fetched on the server, unless they are immediately refetched, which we don't want.
We can re-enable this once https://github.com/mitodl/hq/issues/5159 is done
77eae6a to
df93778
Compare
main
jonkafton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/5543
Description (What does it do?)
This PR adds most of the query config from
mainbranch to the NextJS app.How can this be tested?