SELab-2 / OSOC-6

MIT License
1 stars 1 forks source link

Mutate over edit and create buttons #502

Closed jitsedesmet closed 2 years ago

jitsedesmet commented 2 years ago

We should make sure all mutates are called as needed.

jitsedesmet commented 2 years ago

A useSwrEntityList hook could help here. It would require all arguments of useSwr but expects the function to return a list of IBaseEntity we can than mutate all elements in that list individually reducing the double fetch overhead.