Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Merge next into main #214

Merged
merged 57 commits into from
Apr 19, 2021
Merged

Merge next into main #214

merged 57 commits into from
Apr 19, 2021

Conversation

markerikson
Copy link
Collaborator

Preview for docs purposes and such.

phryneas and others added 30 commits January 1, 2021 22:16
…Args, rename endpoint to endpointName or endpointDefinition everywhere
* Make baseQueryWithReauth async
* Add typing
* dispatch is a method of the api argument
* Adds missing brackets in mutations docs

Co-authored-by: Rob Clayburn <[email protected]>
…pplication/json' (#168)

* fix: stringify body when content-type is 'application/json'
* Update per PR feedback

Co-authored-by: Matt Sutkowski <[email protected]>
* Reset the ref on unmount in the cleanup callbacks
* Implement useLazyQuery hook and add tests

Co-authored-by: Lenz Weber <[email protected]>
* Add `queryFn` as alternative to `query` to endpoint definitions
* Add `dummyBaseQuery`
* Pass baseQuery into queryFn, add a test (#192)
* Bump msw version, crossfetch version, slightly reorganize & fix mock routes
* Update type and usage test
* Add a firebase usage test

Co-authored-by: Matt Sutkowski <[email protected]>
…through Request/Response clones (#196)

Co-authored-by: Lenz Weber <[email protected]>
* Call provides/invalidates in error cases
* Add a test matching the behavior described in #170

Co-authored-by: Lenz Weber <[email protected]>
Shrugsy and others added 15 commits April 17, 2021 21:51
- Add `async await` example for unwrap
- Fix lingering `provides` examples to provide by arg regardless of result
- Fix formatting
- Grammar fixes
- Further `provides` updates
- Fix `provides` & `invalidates` docblocks formatting
- Add docblock for `originalArgs`
- Fix broken summary on `createApi` page for `serializeQueryArgs`
- Use doclinks on `createApi` page for parameter summaries & examples
# Conflicts:
#	docs/api/exports/createApi.md
#	src/react-hooks/buildHooks.ts
#	website/docusaurus.config.js
- Added Redux logo image
- Tweaked tagline to emphasize "For Redux"
- Added Twitter card metadata setting
# Conflicts:
#	src/react-hooks/buildHooks.ts
#	website/docusaurus.config.js
@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 18, 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 deaab57:

Sandbox Source
React Configuration
React Typescript Configuration
rtk-query-demo Configuration
svelte-app-rtk-simplequery-demo Configuration

@netlify
Copy link

netlify bot commented Apr 18, 2021

Deploy preview for rtk-query-docs ready!

Built with commit deaab57

https://deploy-preview-214--rtk-query-docs.netlify.app

msutkowski and others added 4 commits April 18, 2021 14:31
* Add selectFromResult as an option to the useMutation hook
* Update UseMutation return type and tests

Co-authored-by: Lenz Weber <[email protected]>
# Conflicts:
#	docs/api/setupListeners.md
#	docs/concepts/mutations.md
#	docs/concepts/queries.md
@github-actions
Copy link

github-actions bot commented Apr 18, 2021

size-limit report 📦

Path Size
ESM full 10.3 KB (-5.45% 🔽)
createBaseApi + setupListeners 0 B (-100% 🔽)
createApi + setupListeners 9.32 KB (-5.65% 🔽)
fetchBaseQuery 701 B (+10.75% 🔺)
retry 278 B (+2.59% 🔺)
ApiProvider 400 B (0%)
CJS minfied 15.82 KB (-3.58% 🔽)
ESM full (React) 11.69 KB (+100% 🔺)
createApi (React) + setupListeners 10.59 KB (+100% 🔺)
CJS React minfied 17.51 KB (+100% 🔺)

@markerikson markerikson marked this pull request as ready for review April 19, 2021 00:42
@markerikson markerikson merged commit 3fcf4cb into main Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants