Skip to content

loader doesn't run after redirects #1777

@bagindo

Description

@bagindo

Describe the bug

using the latest version, the loader with loaderDeps doesn't run initially.

the page needs to be reloaded for it to run.

Reproduction on version ^1.20.4 (✅ works fine)
https://stackblitz.com/edit/github-p2w83v-xh9id6

Reproduction on the latest version (^1.38.1) (❌ doesn't run initially)
https://stackblitz.com/edit/github-p2w83v-pz6euc

Your Example Website or App

https://stackblitz.com/edit/github-p2w83v-pz6euc

Steps to Reproduce the Bug or Issue

update to the latest version

Expected behavior

run initially, without having to reload the page.

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: 1.38.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions