Nice primer — As you already noted, little changes (long/int) can have a big effect on such micro benchmarks. Also different JS runtimes may likely behave different. Lessons one should learn from this:
Disclaimer: This is a very informative and good article about the topic! Thank you!
…on correctly attributing ideas… The term “Tree shaking” was not introduced by Rich Harris with Rollup! :) This is a thing that is very well known for decades in the Lisp-Community! So obvious, that I proposed…
One note though: The most important thing to learn about “Components” is actually not that they combine code and html! The most important thing about React-Components is “Composition Abstraction”.