菜板的无敌碎碎念
07:22 · Oct 26, 2021 · Tue
菜板tv
🙈
🙊
🙉
function createContext(defaultValue, calculateChangedBits)
https://github.com/facebook/react/pull/20953
然后在我学习到的时候 已经移除了
GitHub
Remove unstable_changedBits by acdlite · Pull Request #20953 · facebook/react
We added this unstable feature a few years ago, as a way to opt out of context updates, but it didn't prove useful in practice.
We have other proposals for how to address the same problem, ...
Home
BIG blog
Powered by
BroadcastChannel
&
Sepia