Skip to main content

Function: usePrefetchTags()

usePrefetchTags(): (eprintUri) => void

Defined in: web/lib/hooks/use-tags.ts:563

Hook for prefetching tags on hover/focus.

Returns

Function

Function to prefetch tags for an eprint

Parameters

eprintUri

string

Returns

void

Remarks

Improves perceived performance by loading tag data before the user views the tags section.