React utils
All React specific utils, components and hooks available from /react pathname.
import { Portal, mergeRefs, useStableCallback } from '@krutoo/utils/react';
SSR ready
Every hook and component is designed to be used in both the client and server parts of your applications.
Core
Extending core React functionality without depending on browser/Node.js APIs etc.
ErrorBoundary
Lifecycle
mergeRefs
useDependentRef
useInstantEffect
useIsomorphicLayoutEffect
useLatestRef
useMergeRefs
useMounted
useStableCallback
useStorageItem
useTransitionStatus
React DOM
Browser dependent hooks and components
Portal
useDragAndDrop
useExactClick
useIntersection
useMatchMedia
useOutsideClick
useResize
useVisualViewport
React DI
Dependency Injection bindings
React Query
Declarative fetching anything by fetch, axios, GraphQL or what you want
React Router
Router bindings