Skip to content

CE-3127: Improvements to RTK implementation

Max Frederiksen requested to merge CE-3127-improvements-RTK into develop
  • Updated templateApi.ts from latest develop
  • Auto generate lazy query hooks
  • Add AlertApiError
  • Create store folder + move emptyApi, templateApi, ReduxProvider, store.ts into it
  • Update imports
  • Convert files to ts
  • README update (copied from deploy)

follow-up:

  • Implement <AlertApiError /> where possible, discuss with Johanna
  • Move over to auto generated hook functions eg. templateApi.endpoints.createIocRevision.useMutation(); ---> useCreateIocRevisionMutation();

Merge request reports

Loading