Skip to content

@redux-requests/core v1.2.0

Compare
Choose a tag to compare
@klis87 klis87 released this 31 Oct 13:59
· 118 commits to master since this release

Typescript related additions:

  • added LocalMutationAction interface
  • added createRequestsStore function to decorate store with dispatchRequest method - alias for dispatch but with better typings
  • now all interceptors have RequestsStore passed instead of normal store, the only difference is that you get an access to dispatchRequest method
  • added an optional action prop to getQuery and getQuerySelector to automatically infer data generic
  • added ResponseData utility type

You could learn all details in docs.