Skip to content

trubo:load gets triggered twice when GET request is a redirect 302 #428

Closed
@joker-777

Description

@joker-777

Hi, is this on purpose and if so, how can I make sure that the first call doesn't do anything?

I created a test where you can test this problem

Start there the server bundle exec rails s and open the page localhost:3000. You
will see a link that points to page 1 but then gets redirected to page 2. On the
first page load, you will see an alert which you then will see twice after
clicking on this link.

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