We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
此篇主要是使用context api一些避免无谓re-render的场景
demo 汇总
详细描述
因为provide创建的时候 比对Children 每一次创建的provide的Children 必然不相等。
应该将Provide拿出来,然后对Provide进行props.children调用。这样以来,组件create的children
就可以进行差异性比较了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
此篇主要是使用context api一些避免无谓re-render的场景
demo 汇总
详细描述
因为provide创建的时候 比对Children 每一次创建的provide的Children 必然不相等。
应该将Provide拿出来,然后对Provide进行props.children调用。这样以来,组件create的children
就可以进行差异性比较了。
The text was updated successfully, but these errors were encountered: