Skip to content
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

Update fork #1

Merged
merged 76 commits into from
Sep 21, 2020
Merged

Update fork #1

merged 76 commits into from
Sep 21, 2020

Conversation

ryands17
Copy link
Owner

No description provided.

Clayton Marshall and others added 30 commits August 26, 2020 17:14
…in the detailed walkthough of useQuery (#928)

Co-authored-by: Clayton Marshall <claytn@claytons-mbp.lan>
* chore(hydration): set up separate hydration entry point

* feat(hydration): add support for de/rehydrating queryCaches

- Add dehydrate(queryCache, config)
- Add hydrate(queryCache, dehydratedQueries, config)
- Add useHydrate(dehydratedQueries, config)

* test(hydration): fix broken type in test

* rename scheduleTimeoutsManually to activateTimeoutsManually

* docs(hydration): add API-docs for hydration and update comparison

* docs(ssr): update ssr-docs with new approach based on de/rehydration

* remove activateTimeoutsManually

* add default shouldDehydrate

* add hydration/ReactQueryCacheProvider

* use unknown for initialData in dehydration

* rename initialQueries  and dehydratedQueries to dehydratedState

* include queryKey instead of queryHash in dehydration

* update initialQueries to dehydratedState in ssr guide docs

* remove shouldHydrate-option
Separate the sentences based on contex
tannerlinsley and others added 29 commits September 16, 2020 15:05
Removed storing the return value of `queryCache.removeQueries` as it doesn't return anything.
@ryands17 ryands17 merged commit 4dca773 into ryands17:master Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet