UNPKG

tanstack-shadcn-table

Version:

A powerful, feature-rich React table component built on top of TanStack Table v8 with shadcn/ui styling. Optimized bundle size with 55% reduction through peer dependencies.

18 lines (17 loc) 540 B
/** * Hooks exports - Tree-shakeable * * Import only what you need: * * @example * // ✅ Tree-shakeable - only imports useDebounce * import { useDebounce } from '@/lib/hooks/use-debounce'; * * // ✅ Tree-shakeable - only imports useRateLimit * import { useRateLimit } from '@/lib/hooks/use-rate-limit'; * * // ❌ Imports all hooks (not recommended for tree-shaking) * import { useDebounce, useRateLimit } from '@/lib/hooks'; */ export { useDebounce } from "./use-debounce"; export { useRateLimit } from "./use-rate-limit";