core
core copied to clipboard
[Bug report] routePath watcher different behavior in e2e and downstream
Description
For core e2e, watchers are called expected:
Reproduction:
- checkout to
render-debugbranch - built the project with
pnpm build - run e2e docs with
cd e2e && pnpm docs:dev(build is same)
But for downstream repos (tested on theme-hope and ecosystem, the watchers are not called in the same sequence:
Reproduction:
- checkout to
render-debugbranch in ecosystem - built the project with
pnpm build - run docs with
cd docs && pnpm docs:dev(build is same)
This means any downstream plugins or theme can not read the page content DOM properly after navigating. For all the time, we are introducing a delay option for this.
Reproduction
See main text
Used Package Manager
pnpm
System Info
Not needed