Skip to content

Avoid reloading Routes collections when opening details - #220

Merged
OziinG merged 1 commit into
mainfrom
fix/cc-269-routes-navigation-latency
Aug 26, 2026
Merged

Avoid reloading Routes collections when opening details#220
OziinG merged 1 commit into
mainfrom
fix/cc-269-routes-navigation-latency

Conversation

@OziinG

@OziinG OziinG commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the heavy Routes parent loader cached while navigating into nested group or route details
  • preserve fresh reloads for Back/list return, mutations, explicit refresh, external entry, and trailing-slash canonicalization
  • lock the behavior with React Router memory-router integration coverage

Verification

  • full repository tests
  • public URL guard
  • production build
  • typecheck
  • targeted Routes tests 64/64
  • changed-file ESLint and git diff check
  • independent code review: APPROVE

Production gate

Deploy to the K-food target after merge, then verify the nested detail request no longer triggers parent route-plan and route-group collection requests.

Cross-repo change control: EVNSolution/clever-change-control#269
Closes #219

Constraint: The parent loader fetches both unpaginated route plan and route group collections.

Rejected: Broad server pagination refactor | The reproduced delay comes from redundant parent revalidation and can be removed independently.

Confidence: high

Scope-risk: narrow

Directive: Preserve mutation, explicit refresh, list return, external entry, and canonical redirect revalidation.

Tested: full tests; public URL guard; build; typecheck; React Router integration regression

Not-tested: Production latency is verified after the K-food deployment.
@OziinG OziinG linked an issue Aug 26, 2026 that may be closed by this pull request
@OziinG
OziinG merged commit 58be0e2 into main Aug 26, 2026
2 checks passed
@OziinG
OziinG deleted the fix/cc-269-routes-navigation-latency branch August 31, 2026 01:02
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.

Avoid redundant parent loader on Routes detail navigation

1 participant