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] itemShouldUpdate返回true后 未调用contentrender #276

Open
PeiJM opened this issue Jul 15, 2024 · 1 comment
Open

🐛[BUG] itemShouldUpdate返回true后 未调用contentrender #276

PeiJM opened this issue Jul 15, 2024 · 1 comment
Assignees
Labels
By Design this is designed, is feature,not a bug

Comments

@PeiJM
Copy link

PeiJM commented Jul 15, 2024

🐛 bug 描述

itemShouldUpdate返回true后 未调用contentrender

把contentrender注释掉 使用render 是正常的

版本:1.13.8

@ONLY-yours ONLY-yours self-assigned this Jul 25, 2024
@ONLY-yours ONLY-yours added the bug Something isn't working label Jul 25, 2024
@ONLY-yours
Copy link
Collaborator

原因定位到,就算返回了 true,我们也有一层 Memo

如果这些数据和状态不发生变化,我们也不会走 contentRender,render 的话则都会走一遍,算是一个设计

image

@ONLY-yours ONLY-yours added By Design this is designed, is feature,not a bug and removed bug Something isn't working labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
By Design this is designed, is feature,not a bug
Projects
None yet
Development

No branches or pull requests

2 participants