chore(types): re-export SearchMiddleware type from react-router#7087
chore(types): re-export SearchMiddleware type from react-router#7087jameshoward wants to merge 1 commit intoTanStack:mainfrom
Conversation
Re-export `SearchMiddleware` from `@tanstack/router-core` in `@tanstack/react-router` to avoid needing to add a direct dependency on `@tanstack/router-core` when typing search middleware.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request adds Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Bundle Size Benchmarks
Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better. |
Re-export
SearchMiddlewarefrom@tanstack/router-corein@tanstack/react-routerto avoid needing to add a direct dependency on@tanstack/router-corewhen typing search middleware.Summary by CodeRabbit
SearchMiddlewaretype to public exports, allowing developers to import and use this type directly from the package.