react: add "support" for react18 (#3520) (0c66727)
This release updates the peer dependencies to accept React 18 as a valid version, only to avoid installation errors caused by NPM's peer dependency installation.
For TypeScript users, it also avoids using React.FC and the "implicit children" it used to provide. If you are still having troubles, please read this issue.
Note: If you are now using React 18, we strongly recommend using v4-beta. v4 has been re-written to internally use the new useSyncExternalStore hook from React to make the cache work with concurrent features.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps react-query from 3.34.16 to 3.38.1.
Release notes
Sourced from react-query's releases.
... (truncated)
Commits
09a375b
fix(queryObserver): cache select errors (#3554)df80cc8
docs: Remove react-native-appstate-hook (#3574)07c9ce0
test(useQuery): add test for errorUpdateCount (#3547)558878c
feat: expose errorUpdateCount on useQuery (#3532)48ec8cf
fix(devtools): Fix expand button styling (#3544)fab76e6
feat(query): functions for refetchOn options (#3518)4bd66a3
docs: Fix async/await syntax (#3543)a325801
test: add test for status=error (#3411)b7a07c2
feat: add nonce for devtools style tag (#3506)0c66727
feat(react): add "support" for react18 (#3520)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)