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

Todo 列表闪烁 #11

Closed
wzhudev opened this issue Oct 2, 2018 · 0 comments
Closed

Todo 列表闪烁 #11

wzhudev opened this issue Oct 2, 2018 · 0 comments
Labels
🪲 Bug Something isn't working 👩‍🍳 Good First Issue Good for first time contributor

Comments

@wzhudev
Copy link
Member

wzhudev commented Oct 2, 2018

在切换 list 的时候, 即使两个 list 下同顺序的 todo 是相同的, 也会重新渲染而导致闪烁.

小提示: 使用 ngFor 的 trackby 指令.

@wzhudev wzhudev added 🪲 Bug Something isn't working 👩‍🍳 Good First Issue Good for first time contributor labels Oct 2, 2018
@wzhudev wzhudev closed this as completed Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 Bug Something isn't working 👩‍🍳 Good First Issue Good for first time contributor
Projects
None yet
Development

No branches or pull requests

1 participant