Hooks

A function that knows when to call itself when something changes. Mind-bending to start with, but shockingly useful.

An introduction to hooks

Simple example

Reading contexts

Using selectors

Creating custom hooks

Hook reference

useAnnotation

useAnnotationPage

useAnnotationsAtTime

useAsyncSelector

useCanvas

useCanvasClock

useCanvasSelector

useCanvasTimeline

useCollection

useDispatch

useExternalCollection

useExternalManifest

useImageMatrix

useImageService

useManifest

useMappedState

usePaintingAnnotations

useRange

useSearchService

useSelector

useThumbnail

useVault

useVaultEffect

useVirtualCanvas