Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] routePath watcher different behavior in e2e and downstream #1627

Open
Mister-Hope opened this issue Jan 17, 2025 · 1 comment
Open
Assignees
Labels

Comments

@Mister-Hope
Copy link
Member

Description

For core e2e, watchers are called expected:

Image

Reproduction:

  1. checkout to render-debug branch
  2. built the project with pnpm build
  3. 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:

Image

Reproduction:

  1. checkout to render-debug branch in ecosystem
  2. built the project with pnpm build
  3. 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
Copy link

github-actions bot commented Feb 2, 2025

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

@github-actions github-actions bot added the stale label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants