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

react基本原理及性能优化 #15

Open
2oe opened this issue Aug 29, 2019 · 0 comments
Open

react基本原理及性能优化 #15

2oe opened this issue Aug 29, 2019 · 0 comments

Comments

@2oe
Copy link

2oe commented Aug 29, 2019

react是用于构建用户界面的JS框架。因此react只负责解决view层的渲染。
主要有:

  1. 原理:react是什么?做了什么?react的生命周期/setState机制/diff 算法
  2. 性能优化方案
    减少diff算法触发次数/正确使用diff算法
    其他优化策略

原文地址:https://segmentfault.com/a/1190000015648248

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

1 participant