Gives components the categories of one kind, of those CategoriesProvider loads once for the whole app.

Functions

f
useCategories(kind: CategoryKind): KindCategories

Returns the categories of kind, dump or playlist, and a function that refetches them. Under no CategoriesProvider, the list is empty.

Interfaces

I
KindCategories

Returned by useCategories: one kind's categories.