StateOfJS-Vulcan icon indicating copy to clipboard operation
StateOfJS-Vulcan copied to clipboard

[State of JS 2021] Browser APIs

Open SachaG opened this issue 3 years ago • 4 comments

One of the main goals for this next round of the State of JS survey is to learn more not just about JS language features usage (destructuring, proxies, etc.) but also browser APIs usage. This was already a section in previous years but I think we can probably expand it to also include things like bluetooth, webRTC, etc. APIs.

So the two things to decide right now would be:

  1. Which new browser APIs should we ask about?
  2. How do we ask about browser incompatibilities?

Regarding 2., the easiest way is probably to do something similar to the CSS survey and have a separate question asking people which APIs they refrain from using because of browser incompatibilities. We could also imagine somehow merging that into the initial set of questions asking about features, although that would probably be more work.

SachaG avatar Nov 09 '21 02:11 SachaG

FWIW, I think the browser incompatibilities question for CSS was highly valuable and led to actionable findings, see https://github.com/web-platform-tests/interop-2022/issues/7.

If a browser APIs question remains, I'd suggest asking "Are there any browser APIs that you avoid ..." exactly with the wording from CSS, since that worked well.

foolip avatar Nov 09 '21 09:11 foolip

@SachaG is there also a generic State of JS 2021 input thread?

foolip avatar Nov 09 '21 09:11 foolip

I just created one.

SachaG avatar Nov 09 '21 10:11 SachaG

I have compiled a list of the most wanted PWA APIs (where PWA APIs is not an exact science definition) that are missing on iOS according to a survey we ran.

tomayac avatar Nov 09 '21 13:11 tomayac