The issue here is bad frontend engineers and people buying laptops and expecting good performance.
Everybody is so happy with the apple M1 but it is only as powerfull as a ryzen 3600, a 180$ cpu
If you write well your web it will perform in most devices
apple just has the worst ratio "computing power / dollar"