Skip to content

Expose pending route name reactively - #132

Merged
dr-dimitru merged 1 commit into
veliovgroup:masterfrom
drone1:feature/pending-route-name
Aug 24, 2026
Merged

dr-dimitru merged 1 commit into
veliovgroup:masterfrom
drone1:feature/pending-route-name

Conversation

@drone1

@drone1 drone1 commented Jul 22, 2026 •

Copy link
Copy Markdown

Summary

  • add getActiveRouteNameReactive() for UI that should reflect a navigation target before waitOn completes
  • keep existing current() / getRouteName() loaded-route reactivity unchanged
  • add runtime and TypeScript coverage

This came from a real navigation UX issue: active-link UI otherwise remains on the previous route throughout a slow waitOn, even though the router has already committed to the destination.

FWIW: I've had this code in my app in production for months now.

Tests

  • meteor npm run test:once (193 passed)
  • meteor npm run test:types

@dr-dimitru
dr-dimitru merged commit ecbf577 into veliovgroup:master Aug 24, 2026
7 checks passed
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