A generalisation of that optimisation is discussed here: https://twitter.com/MateuszOkon/status/1159222281874366464
17 karma · joined August 1, 2019
There’s more discussion here:https://mobile.twitter.com/Shub7241/status/11570049077753241....
Without an independent notion of lifecycle, React essentially cannot improve it’s reconciliation algorithm.
In the time leading up to its release, I am releasing a series of documents explaining core ideas.