Skip to content

initial handler fired twice #227

@sulram

Description

@sulram

Hello there!

I've created an strategy to always redirect users to home, and them open the desired uri via ajax and director.

When users try entering example.com/page1, they are redirected to example.com/#/page1.

I'm using pushState and director automatically corrects the route, removing the hash. That's cool!

The problem: sometimes director fires the route callback twice.

Why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions