Does React always check the whole tree?

前端 未结 0 457
醉酒成梦
醉酒成梦 2021-02-15 03:09

When a component is updated by calling setState, does React run the diffing algorithm on the whole DOM tree, or only on the part of it that belongs to the updated component?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题