Skip to content

Conversation

@tuncayuk
Copy link
Contributor

@tuncayuk tuncayuk commented Dec 2, 2025

Summary

Adds a new afterEach hook to the router that executes after navigation completes, providing access to both the route objects and their corresponding component instances.

Changes

  • Added afterEach and after hook execution in the navigate function
  • The hook is called after the new view is set as the active view but before focus is transferred
  • Hook receives an object with:
    • to: The destination route
    • toComponent: The destination component instance
    • from: The previous route (or undefined if navigating to the first route)
    • fromComponent: The previous component instance (or null if reusing or no previous view)

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Test Results: ✅ PASSED

Run at: 2025-12-02T12:32:50.640Z

Summary:
passed: 917 failed: 0 of 917 tests

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Test Results: ✅ PASSED

Run at: 2025-12-04T11:52:20.264Z

Summary:
passed: 917 failed: 0 of 917 tests

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Test Results: ✅ PASSED

Run at: 2025-12-04T14:02:35.159Z

Summary:
passed: 917 failed: 0 of 917 tests

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.

1 participant