为什么要在React 使⽤ immutable. ⼀句话概况: React 使⽤了 shallowCompare 来决定是否应该重新渲染⼀个组件。 要理解 shallowCompare ,我们⾸先 ...
確定! 回上一頁