Skip to content

fix: prevent framework documentation page from freezing on link hover#1010

Open
Manishkumarbingi wants to merge 1 commit into
TanStack:mainfrom
Manishkumarbingi:fix/issue-1001
Open

fix: prevent framework documentation page from freezing on link hover#1010
Manishkumarbingi wants to merge 1 commit into
TanStack:mainfrom
Manishkumarbingi:fix/issue-1001

Conversation

@Manishkumarbingi

@Manishkumarbingi Manishkumarbingi commented Jun 27, 2026

Copy link
Copy Markdown

Summary

This change disables route preloading for the framework documentation links rendered by FrameworkCard.

Background

The framework documentation page currently becomes unresponsive when hovering the framework cards (Issue #1001).

During investigation I found that:

  • Replacing the Link with a plain <a> prevents the freeze.
  • Setting preload={false} on the Link also prevents the freeze.
  • Other documentation links (such as MarkdownLink) already disable preloading.

This change makes the framework card links consistent with the existing documentation link behavior and avoids the reported freeze.

I was not able to identify the underlying cause of the preload behavior, so this should be considered a workaround that resolves the reported issue rather than a confirmed root-cause fix.

Summary by CodeRabbit

  • Performance
    • Prevented certain framework-related links from preloading, which may reduce unnecessary network activity and improve page responsiveness.

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f302bf1e-a637-41d4-85a7-9e8882bac3ba

📥 Commits

Reviewing files that changed from the base of the PR and between 38f89ec and 75e060c.

📒 Files selected for processing (1)
  • src/components/FrameworkCard.tsx

📝 Walkthrough

Walkthrough

Two links in the framework card now explicitly disable route preloading.

Changes

FrameworkCard link preload behavior

Layer / File(s) Summary
Disable link preload
src/components/FrameworkCard.tsx
Both Link elements in FrameworkCard now pass preload={false}.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A bunny hops by, ears up high, 🐰
Two links now rest beneath the sky.
No eager preload, just calm and light,
The card sits still, all neat and right.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the change: disabling link preloading to stop the framework docs page from freezing on hover.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants