Closed jitsedesmet closed 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.
We should make sure all mutates are called as needed.