Skip to content

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

@2oe

Description

@2oe

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions