github.com/facebook/react…
React DOM also diffs styles between updates to decide exactly which properties to change. This doesn't seem necessary; it could overwrite the style property every update:
A brief analysis and comparison of the CSS for Twitter's PWA vs Twitter's legacy desktop website. The difference is dramatic and I'll touch on some reasons why.
Legacy site *downloads* ~630 KB CSS per theme and writing direction.
I'm often asked "how do I improve my technical skills as a software engineer?" Amusing because mine are mediocre. But, it's the same way you get better at anything else. Here are some concrete examples I've seen help…
1. Learn by unlearning. Be curious, humble, open-minded. Be prepared to let go of what you think you already know. Don't jump to conclusions. Don't trust your assumptions. Don't be afraid to begin again.