Запитання 13
In an RTK Query setup, where is the correct place to implement the single-flight token-refresh-on-401 logic?
Варіанти відповідей
Inside each individual component's `useEffect`, checking response status manually
In a custom `baseQuery` wrapper around `fetchBaseQuery` that intercepts 401 results, awaits a shared refresh promise, and retries the original query
Inside the Redux store's `configureStore` middleware array using `redux-thunk` exclusively, with no relation to `baseQuery`
In `app.json`, via the `expo.extra` configuration field