title: Best approach to handle loading state in react when using Redux toolkit and react query
body: <p>I'm building a React application with react query and Redux toolkit and i'm wondering how Can i handle loading state ?
  What's the best approach ?
  Should i create ann appSlice which has loading in his state or should I handle it with useQuery hook isLoading prop ? I'm confused because when i use asynThunk there is pending state , now when I'm using react query there is also isLoading</p>