title: How to dispatch other thunk request on succession of a redux thunk request in react-redux-toolkit
body: <p>I am using react-redux toolkit with redux thunk to make the api calls. In my app, when I dispatch a thunk for update or delete request and after it succession I want to call the get request as well but only way I was able to figure out is by using a flag with useEffect. Is there any better approach you guys can share?</p>
  <p>I also tried this piece in my slice file but it won't work as useDispatch cannot be called inside a javascript function block</p>
  <pre><code>.addCase(propertiesThunk.deleteProperty.fulfilled, (state, { payload }) =&gt; (
        useDispatch(propertiesThunk.getProperties())
      ))
  </code></pre>