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

Feature/react server #5633

Closed
wants to merge 334 commits into from
Closed

Feature/react server #5633

wants to merge 334 commits into from

Conversation

TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented Jun 27, 2023

No description provided.

DamianOsipiuk and others added 30 commits March 10, 2023 09:19
* fix: queryClient consistent as a second parameter

* fix: use accessor type in solid adapter

* chore: prettier
* eslint-lugin-query updated

* migrating from jest to vitest

* fixing error in ci pipeline

* adding coverage

* re-introduction vi.fn generics and addressing comments

* fixes from vi.fn generics second pass

* reverting vue-query tsconfig to not use esnext

* fixing frozen lock file error

* adding coverage option on vitest command

* resetting bad merge from alpha

* bumping node version in CI
* refactor: simplify options

* feat: pass pageParams to InfiniteQueries

* refactor: use async/await instead of promise chaining

* types: add TPageParam to InfiniteQueryObserver

* test: tests for getNext / getPreviousPageParam

* chore: prettier

* test: add another test

* docs: update infinite query docs
# Conflicts:
#	package.json
#	packages/eslint-plugin-query/package.json
#	pnpm-lock.yaml
# Conflicts:
#	package.json
#	pnpm-lock.yaml
# Conflicts:
#	package.json
#	pnpm-lock.yaml
* Move @vitest/coverage-istanbul to root

* Update vite.config.ts
# Conflicts:
#	docs/react/devtools.md
#	nx.json
#	package.json
#	packages/react-query-devtools/src/__tests__/devtools.test.tsx
#	packages/react-query-devtools/src/devtools.tsx
#	pnpm-lock.yaml
* feat(infinite-queries): add direction to QueryFunctionContext

* test: tests for direction

* docs: direction

* chore: fix type import

* chore: suppress eslint
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
# Conflicts:
#	.github/workflows/pr.yml
#	packages/eslint-plugin-query/package.json
#	packages/query-async-storage-persister/package.json
#	packages/query-broadcast-client-experimental/package.json
#	packages/query-core/package.json
#	packages/query-persist-client-core/package.json
#	packages/query-sync-storage-persister/package.json
#	packages/react-query-devtools/package.json
#	packages/react-query-persist-client/package.json
#	packages/react-query/package.json
#	packages/solid-query/package.json
#	packages/svelte-query/package.json
#	packages/vue-query/package.json
* feat(vue-query): useMutationState composable

* fix(vue-query): useQueries state update

* fix: prettier

* chore: cleanup
* fixing vitest global types in IDEs

* fixing the svelte-query test:types

* fixing svelte query test:types

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
# Conflicts:
#	package.json
#	packages/react-query-devtools/package.json
#	packages/react-query-persist-client/package.json
#	packages/react-query/package.json
#	packages/react-query/src/reactBatchedUpdates.ts
#	packages/react-query/src/useIsMutating.ts
#	packages/react-query/src/useQuery.ts
#	packages/react-query/src/useSyncExternalStore.ts
#	pnpm-lock.yaml
#	rollup.config.ts
tannerlinsley and others added 25 commits July 3, 2023 04:46
* refactor: Accept stores other than writable

* Cleanup Readable type import

* Add tests

* Stricter isSvelteStore check

* Update docs

* Fix input bind

* Add testing-library cleanup
# Conflicts:
#	packages/query-async-storage-persister/package.json
#	packages/query-broadcast-client-experimental/package.json
#	packages/query-core/package.json
#	packages/query-core/src/types.ts
#	packages/query-persist-client-core/package.json
#	packages/query-sync-storage-persister/package.json
#	packages/react-query-devtools/package.json
#	packages/react-query-persist-client/package.json
#	packages/react-query/package.json
#	packages/solid-query/package.json
#	packages/svelte-query/package.json
#	packages/vue-query/package.json
#	packages/vue-query/src/useQueries.ts
# Conflicts:
#	package.json
#	pnpm-lock.yaml
* chore: fix a copy-paste error

* chore: bootstrap package

* chore: setup package

* chore: allow passing with no tests

* fix: remove 'use client' from index bundle

* chore: cleanup copy/paste error

* chore: fix prettier

* refactor: replace ref with direct props access

* fix: do not write to refs during render

* refactor: inline function into useEffect to avoid useCallback

* fix: eslint no-shadow

* refactor: namespace id

* refactor: removed pointless check

* fix: set to empty array on cleanup

* fix: adapt for v5 changes

* chore: fix build

* docs: add streaming example

* chore: fix outdated lockfile

* chore: fix prettier

* refactor: remove isSubscribed ref

* refactor: re-arrange comment

* chore: remove comments

* chore: fix broken lock file

* feat: allow customization of hydrate / dehydrate options

and make sure we fall back to the defaultShouldDehydrate function, which only dehydrates successful queries
…g occurs (#5611)

* fix-5538 : sync Observer 'current' properties when optimistic reading occurs

* Flip test on currentResult with placeholderData's order & add test

* Fix tests using the same queryKey

* remove options.placeHolderData from deciding whether to assign observer current properties, use equalitycheck on v5

* maybe fix for vue reactivity cbs

* test(vue-query): test persister with useQuery

* Force line terminator to \\n on codemods tests

* Revert " Force line terminator to \\n on codemods tests"

This reverts commit 6f0a469.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
because they currently don't work
Base automatically changed from alpha to beta July 24, 2023 09:59
@TkDodo TkDodo closed this Jul 31, 2023
@TkDodo TkDodo deleted the feature/react-server branch July 31, 2023 14:29
@TkDodo TkDodo mentioned this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.