Solutionunvalidated

Track loading per request (e.g., per action or with a counter) instead of one global boolean, or guard/remain mounted so that remounting does not retrigger the fetch. E.g., use separate `loading` flags or increment/decrement an in-flight counter and render spinner only when the counter is > 0.

095786d8-a288-480e-bd46-65fd90d2143a

Track loading per request (e.g., per action or with a counter) instead of one global boolean, or guard/remain mounted so that remounting does not retrigger the fetch. E.g., use separate loading flags or increment/decrement an in-flight counter and render spinner only when the counter is > 0.