-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
v1.7.0 integration branch #1565
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
|
✔️ Deploy Preview for redux-starter-kit-docs ready! 🔨 Explore the source changes: 3fb4526 🔍 Inspect the deploy log: https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6156c41a1043d200086cd762 😎 Browse the preview: https://deploy-preview-1565--redux-starter-kit-docs.netlify.app |
size-limit report 📦
|
Co-authored-by: Matt Sutkowski <[email protected]>
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit aad6d32:
|
|
✔️ Deploy Preview for redux-starter-kit-docs ready! 🔨 Explore the source changes: 18ef51d 🔍 Inspect the deploy log: https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6156c48638a3b1000774e759 😎 Browse the preview: https://deploy-preview-1565--redux-starter-kit-docs.netlify.app |
|
✔️ Deploy Preview for redux-starter-kit-docs ready! 🔨 Explore the source changes: aad6d32 🔍 Inspect the deploy log: https://app.netlify.com/sites/redux-starter-kit-docs/deploys/61b3a131680b4266a2aab986 😎 Browse the preview: https://deploy-preview-1565--redux-starter-kit-docs.netlify.app |
Co-authored-by: Lenz Weber <[email protected]>
Co-authored-by: Shrugsy <[email protected]>
844299f to
43bba18
Compare
…tableValue-addition
… `fixedCacheKey` (#1477)
Co-authored-by: Lenz Weber <[email protected]>
Co-authored-by: Josh Fraser <[email protected]>
97a9f63 to
c455fc2
Compare
fetchBaseQuery: return `null` instead of `undefined` on empty body for JSON. Also add dev errors if `baseQuery`/`queryFn` returns a wrong shape (#1699)
Co-authored-by: Lenz Weber <[email protected]>
…1701) * Add unwrap to QueryActionCreatorResult and update LazyQueryTrigger * Add test for the return value of lazy query's trigger * Fix types for lazy query :fingers_crossed: * minor refactor, add test for positive case * Use QueryResultSelectorResult instead of QuerySubState * Update buildHooks test and type expectations for useLazyQuery unwrapping * Update UseLazyQueryTrigger signature * Remove extra unwrap and add queryString types * remove import, fix test Co-authored-by: Lenz Weber <[email protected]>
Co-authored-by: Matt Sutkowski <[email protected]>
* Override unwrap behavior for buildInitiateQuery, update tests * Update TS test matrix to cover 4.4 and 4.5 * Fix type issue in tests * Update packages/toolkit/src/query/tests/buildHooks.test.tsx * Remove intermediate variable for aggregatePromise * Update packages/toolkit/src/query/core/buildInitiate.ts Co-authored-by: Lenz Weber <[email protected]> Co-authored-by: Mark Erikson <[email protected]>
The `ReducerPath` type tries to extract the generic type for "the path of the reducer" arg from `EndpointDefinitions`. However, it looks like this was always off by one: getting the 4th arg instead of the actual 5th arg. This caused bad input to the generated selectors. That seems to have worked okay with Reselect 4.0 and its looser types, but caused problems when we updated to Reselect 4.1.x and its improved types. The `RootState` type collapsed down to an empty object, because there was no valid string to use as an object key. This fixes the bug and adds a typetest to verify that the selector types are carried through all the way.
|
Let's do this! |
Current progress is tracked in this Beta Project