Skip to content

Migration issue V6 to V7 - missing equivalent of Modular.to.addListener #1063

Description

@vagrantrobbie

Describe the question
Modular 6 had a handy Modular.to.addListener to listen to the global navigation change. I understand we have the reactive context.routeState() but this only fires when the widget is rebuilt rather than as a constant stream.

Is there a preferred equivalent of .addListener?

Expected behavior
A clear description of how to listen for a global navigation change listener

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew issue request attentionquestionQuestions about using some feature or general working of the package

    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