Raphaël Ferrand

Deciding the browserslist for a Design System in Scandinavia

Fri, December 13, 2024

Browsers support for a Design System in Scandinavia

The specificities of Norway

Norway is a country where the usage of iOS is higher than in other countries. Like, way higher.

We could think it makes our life easier. Well it does not. Apple iOS tends to ship features later than the other browsers. It sucks.

And, on top of that, iOS browser does not auto-updates like Firefox and Edge/Chrome. Plus some users get locked on a version unless they can change their device buying a new one. Which means spending a whole lot of money.

All this ends up in this situation: We have to support older versions of iOS for a longer time.

For some reason Sweden and Denmark are actually much more similar to the rest of Europe and the world.

Technical implications

We want to support older browsers if we can, and if it makes sense. This being said, all the projects using the design-system are also using some sort of JS framework. Which means the browser support will also eventually be limited by that.

Browser support by the major JS frameworks

The common browser support is

“browserslist”: [ “last 2 major versions”, ”> 1%”, “not dead” ]

Examples:

So, this is the browserslist I use:

"browserslist": [
  "last 3 versions",
  "last 2 major versions",
  "> 0.5%",
  "Firefox ESR",
  "not dead"
]

Ideas