Skip to content

RTK Query Sustainable Setup As Codebase Grows In Complexity #1295

Answered by markerikson
agusterodin asked this question in Q&A
Discussion options

You must be logged in to vote

My first quick thought is that you should be using the patterns shown in the "Code Splitting" page to split up the endpoint definitions, even if you're not actually trying to literally code-split:

https://redux-toolkit.js.org/rtk-query/usage/code-splitting

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
12 replies
@markerikson
Comment options

@agusterodin
Comment options

@rozendale
Comment options

@zzzbra
Comment options

@Jonesus
Comment options

Answer selected by agusterodin
Comment options

You must be logged in to vote
1 reply
@phryneas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants