The fact that you entirely ignore the biggest plague of the web, i.e. ads and analytics and all taboola garbage and autoplaying videos and audios, taking more energy than that once a year election pie chart makes me think that you are missing the forest for the tree. Also, even if I were to try picking up React today and make a most garbage pie chart on a page visited by whole population of America, it would still be dwarfed by the amount of energy wasted by watching a tiktok video on same number of devices.