Skip to main content

Upstream Hook Exports

These exports exist so business projects can import common hooks through @vef-framework-react/hooks instead of managing several third-party entry points directly.

Wrapped Media and Environment Hooks

VEF wraps these Mantine hooks to normalize the getInitialValueInEffect behavior:

  • useMediaQuery
  • useColorScheme
  • useReducedMotion

Mantine Re-Exports

Representative exports include:

  • useDebouncedCallback
  • useDebouncedState
  • useDebouncedValue
  • useDidUpdate
  • useDocumentTitle
  • useElementSize
  • useEventListener
  • useFocusTrap
  • useFullscreen
  • useIntersection
  • useInterval
  • useIsomorphicEffect
  • useMutationObserver
  • usePrevious
  • useResizeObserver
  • useTimeout
  • useWindowEvent

Official docs: Mantine Hooks

AI SDK React Re-Exports

  • useChat
  • useCompletion
  • useObject

Official docs: AI SDK Docs

Hotkey Exports

  • HotkeysProvider
  • useHotkeys
  • useHotkeysContext
  • useRecordHotkeys

Official docs: react-hotkeys-hook