The US does pay significantly higher, but with enormous costs (afaik).
My senior full stack engineer position would be about 60k/year at the government, which is a significant income to Dutch standaards.
My monthly costs are around 1400 per month, the rest used for savings and fun.
Because they’re using events and downloading a few megabytes of extra javascript framework is, of course, a way better option than six lines of SVG stylesheets.
Edit: forgot a /s