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

Demos render order not stable #80

Closed
yunsii opened this issue Aug 30, 2022 · 4 comments
Closed

Demos render order not stable #80

yunsii opened this issue Aug 30, 2022 · 4 comments

Comments

@yunsii
Copy link

yunsii commented Aug 30, 2022

Demos render order not stable after I update demo trigger hmr under development env

@csr632 csr632 closed this as completed in 02ecd28 Aug 30, 2022
@csr632
Copy link
Member

csr632 commented Aug 30, 2022

Fixed. Checkout the demo in the commit 02ecd28 , or checkout the latest online demo

@yunsii
Copy link
Author

yunsii commented Aug 31, 2022

Stability depends on order property for now?

@csr632
Copy link
Member

csr632 commented Aug 31, 2022

Stability depends on order property for now?

Yes. Order will default to 1 if missing. If two demos have same order, they will be sorted by key.

@yunsii
Copy link
Author

yunsii commented Aug 31, 2022

Lose sight of a.key.localeCompare(b.key), thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants