Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

83
Visualizações
How to extend the use of baseUrl in RTK Query

I have implemented methods to the backend in this way (screenshot), the problem is that the length of these methods will be even longer. I want to use RTK Query. I know that RTK Query has such a thing as injectEndpoints. Due to which I will divide all these methods into files. I will still have to write the full names of these methods in the query field to each endpoint, because baseQuery with its baseUrl is regulated only in one place, that is, at the createApi stage. The question is how to extend the use of baseUrl or better integrate these methods with RTK Query

screenshot

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda