Skip to content

Tankōbon / hooks/use-library / useLibrary

Function: useLibrary() ​

useLibrary(): LibraryEntry[] | null

Defined in: hooks/use-library.ts:16

Every library entry, most recently opened first; null until the first load. All views share the same array (replaced, never mutated), so it can be a dependency of useMemo.

Returns ​

LibraryEntry[] | null