Add global Link wrapper with prefetch disabled by default
- Create Link component in @hive/ui that wraps next/link with prefetch={false}
- Migrate all direct next/link imports to use @hive/ui Link (58 files)
- Add ESLint no-restricted-imports rule to prevent direct next/link usage
- Add eslint-disable comment for BasePathLink which needs direct access
This prevents excessive server-side API calls caused by Next.js automatic
prefetching when Link components appear in viewport.
Loading
Please sign in to comment