1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[React] How can I set an initial state using RTK Query? [fechada]

Discussão em 'Mobile' iniciado por Stack, Setembro 14, 2021.

  1. Stack

    Stack Membro Participativo

    I want to set an initial state before I GET the user config login from the API, I thought about using onQueryStarted but that only works when the data already exists in the cache. Is that possible somehow?

    Continue reading...

Compartilhe esta Página