Commit 0bc2e1d9 authored by Krzysztof Kocot's avatar Krzysztof Kocot Committed by Jakub Lachór
Browse files

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.
parent cbe742c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment