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

Add unwrap to QueryActionCreatorResult and update LazyQueryTrigger #1701

Merged
merged 9 commits into from
Nov 18, 2021

Conversation

msutkowski
Copy link
Member

  • Adds unwrap to the query action creator being that we return a promise from initiate now
  • Returns the promise ref from useLazyQuery's trigger

@github-actions
Copy link

github-actions bot commented Nov 6, 2021

size-limit report 📦

Path Size
1. entry point: @reduxjs/toolkit (cjs.production.min.js) 12.88 KB (0%)
1. entry point: @reduxjs/toolkit (esm.js) 10.76 KB (0%)
1. entry point: @reduxjs/toolkit/query (cjs.production.min.js) 22.52 KB (+0.05% 🔺)
1. entry point: @reduxjs/toolkit/query (esm.js) 18.87 KB (+0.07% 🔺)
1. entry point: @reduxjs/toolkit/query/react (cjs.production.min.js) 24.66 KB (+0.09% 🔺)
1. entry point: @reduxjs/toolkit/query/react (esm.js) 21.42 KB (+0.1% 🔺)
2. entry point: @reduxjs/toolkit (without dependencies) (cjs.production.min.js) 5.7 KB (0%)
2. entry point: @reduxjs/toolkit (without dependencies) (esm.js) 5.65 KB (0%)
2. entry point: @reduxjs/toolkit/query (without dependencies) (cjs.production.min.js) 10.01 KB (+0.11% 🔺)
2. entry point: @reduxjs/toolkit/query (without dependencies) (esm.js) 10.43 KB (+0.1% 🔺)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (cjs.production.min.js) 2.66 KB (+0.26% 🔺)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (esm.js) 2.5 KB (+0.32% 🔺)
3. createSlice (esm.js) 5.03 KB (0%)
3. createEntityAdapter (esm.js) 6.28 KB (0%)
3. configureStore (esm.js) 5.62 KB (0%)
3. createApi (esm.js) 17.1 KB (+0.07% 🔺)
3. createApi (react) (esm.js) 19.67 KB (+0.08% 🔺)
3. fetchBaseQuery (esm.js) 11.57 KB (0%)
3. setupListeners (esm.js) 10.39 KB (0%)
3. ApiProvider (esm.js) 18.5 KB (+0.07% 🔺)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 6, 2021

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 e6df7d7:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
reduxjs/redux-toolkit Configuration

@msutkowski msutkowski marked this pull request as ready for review November 6, 2021 17:47
@msutkowski msutkowski merged commit 4441eef into v1.7.0-integration Nov 18, 2021
@msutkowski msutkowski deleted the unwrap-lazyquery branch November 18, 2021 17:33
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.

None yet

2 participants