perf(router): remove prebuilt preload locations - #8132
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughClient preloading now builds locations on demand in router-core. Redirect handling uses an iterative flow with cleanup and stop conditions. Solid and Vue links pass only navigation options, and tests verify the updated calls. ChangesClient preload flow
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to This change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant SolidOrVueLink
participant RouterCore
participant preloadClientRoute
participant RouteMatcher
SolidOrVueLink->>RouterCore: preloadRoute(options)
RouterCore->>preloadClientRoute: pass router and options
preloadClientRoute->>RouterCore: build location from options
preloadClientRoute->>RouteMatcher: match location and preload resources
RouteMatcher-->>preloadClientRoute: matches or materialized redirect
preloadClientRoute->>RouteMatcher: follow eligible redirect
preloadClientRoute-->>RouterCore: return matches or undefined
RouterCore-->>SolidOrVueLink: resolve or log preload error
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
View your CI Pipeline Execution ↗ for commit 20ccf36
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview3 package(s) bumped directly, 20 bumped as dependents. 🟩 Patch bumps
|
Bundle Size Benchmarks
The following scenarios have bundle-size changes compared with the baseline:
Current gzip tracks all emitted client JS chunks. Initial gzip tracks only the entry/import graph. Trend sparkline is historical current gzip ending with this PR measurement; lower is better. |
Merging this PR will regress 7 benchmarks
|
Summary by CodeRabbit
New Features
Bug Fixes
Tests