Altinn / altinn-access-management-frontend

Frontend for access management
MIT License
3 stars 1 forks source link

Move dispatch functions in slices to rtkQuery #758

Open allinox opened 7 months ago

allinox commented 7 months ago

We want to switch from dipatch functions in rtk slices to using rtk query whenever possible and to clear out the different page-slices to collect all nessecary states in one apiDelegationSlice such as has been done in SingleRights

### API delegation
- [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/909
- [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/908
- [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/910
### SingleRights
- [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/957
### General
- [ ] https://github.com/Altinn/altinn-access-management-frontend/issues/950
Albertlarsen commented 7 months ago

Maybe we should split this into more tasks since it's quite big @allinox?