Gives every component that loads from the API the same states, so that
ListState renders loading, error and empty alike everywhere.
Usage
import * as mod from "src/utils/shared/loadState.ts";
Gives every component that loads from the API the same states, so that
ListState renders loading, error and empty alike everywhere.
import * as mod from "src/utils/shared/loadState.ts";