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
object.freeze
Object.freeze
如果一次性传入大量数据
建议:
如果并非一次性传入大量数据 而只是分段加载 但次数特别多
👇~~~~ 欢迎在下方评论补充你的答案,一起来学习~:pushpin:
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
📚在线阅读:vue 渲染大量数据时应该怎么优化? - No.77
优化方案1:
object.freeze
冻结(可以使用虚拟列表,Object.freeze
冻结对象,Object.preventExtentsion阻止对象扩展来阻止vue给每个对象加上get,set,但是缺点是不能响应了)优化方案2:
如果一次性传入大量数据
建议:
如果并非一次性传入大量数据 而只是分段加载 但次数特别多
优化方案3 ?:
👇~~~~ 欢迎在下方评论补充你的答案,一起来学习~:pushpin:
扩展阅读:
The text was updated successfully, but these errors were encountered: