Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(router): Provide way to force reload of entire route #7429

Copy link
Copy link
@brandonroberts

Description

@brandonroberts
Issue body actions

Note: for support questions, please use one of these channels: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

  • *I'm submitting a ... *
    [ ] bug report
    [x] feature request
    [ ] support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?

Feature

  • What is the current behavior?

When navigating to the same route more than once, the route components in the route tree are reused.

The reload function is called, and all routes in the current instruction reload without being reused.

  • What is the motivation / use case for changing the behavior?

There are cases where the user would want to force a reload of an entire route to go through the entire navigation process again including triggering lifecycle events.

  • Please tell us about your environment:
  • Angular version: 2.0.0-beta.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5 | Dart]

All

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

This was the result of a conversation with @petebacondarwin about adding a reload feature for the router. This issue is to officially track that item. #7163 (comment)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.