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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

recommend use of an api cache library in the style guide #4178

Closed
wants to merge 1 commit into from

Conversation

phryneas
Copy link
Member


name: 馃摉 Recommend use of an api cache library in the style guide
about: Add a section to the style guide to use RTK Query or an alternative library.

PR Type

Update an existing page

Checklist

  • Is there an existing issue for this PR?
  • Have the files been linted and formatted?
    No, the linter runs amok on my local machine and tries to format everything differently.

What docs page is being added or updated?

  • Section: Style Guide

For Updating Existing Content

What updates should be made to the page?

Add a section to the style guide to use RTK Query or an alternative library.

Do these updates change any of the assumptions or target audience? If so, how do they change?

They add more emphasis that api cache logic should usually not be written by hand.

@markerikson generally I am very open to pretty much rewording anything in here, but we should probably get RTK-Q mentioned in the style guide.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 26, 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 a8f0198:

Sandbox Source
Vanilla Typescript Configuration

@netlify
Copy link

netlify bot commented Sep 26, 2021

鉁旓笍 Deploy Preview for redux-docs ready!

馃敤 Explore the source changes: dff5998

馃攳 Inspect the deploy log: https://app.netlify.com/sites/redux-docs/deploys/6150288c04f4890008d2a2e6

馃槑 Browse the preview: https://deploy-preview-4178--redux-docs.netlify.app

@markerikson
Copy link
Contributor

I'd probably put this one in the later "Recommended" section, alongside "Use Thunks".

@EskiMojo14
Copy link
Contributor

this seems to have been superceded by #4460 - (https://redux.js.org/style-guide/#use-rtk-query-for-data-fetching)

okay to close?

@markerikson
Copy link
Contributor

Yep!

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

4 participants