Skip to content

fix(linter/only-export-components): support tanstack router#21937

Draft
camc314 wants to merge 1 commit intomainfrom
codex/fix-only-export-components-tanstack-router
Draft

fix(linter/only-export-components): support tanstack router#21937
camc314 wants to merge 1 commit intomainfrom
codex/fix-only-export-components-tanstack-router

Conversation

@camc314
Copy link
Copy Markdown
Contributor

@camc314 camc314 commented Apr 29, 2026

fixes #21921

Treat nested configured HOC calls like createFileRoute('/profile')({ component }) as React component exports. This prevents the local route component from being reported when TanStack Router creators are listed in customHOCs.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 29, 2026

Merging this PR will not alter performance

✅ 4 untouched benchmarks
⏩ 47 skipped benchmarks1


Comparing codex/fix-only-export-components-tanstack-router (3fe757d) with main (296d147)

Open in CodSpeed

Footnotes

  1. 47 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

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.

linter: 1.62.0 introduces issues with tanstack router

1 participant