-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pages/index.tsx: Dehydrate query client (#1564)
* pages/index.tsx: Dehydrate client Needed to update the query state from prefetchQuery on the client. Improves loading time significantly. -hook/campaigns:Remove staleTime from the useCampaignList. Showing stale data, might confuse donors, as they expect their donation to be showed immediately. * ActiveCampaignsSection.tsx: Use campaign.id as key index is not quite good for a key, to track changes of array items
- Loading branch information
1 parent
80b1964
commit 2f95736
Showing
4 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters