← Back to context

Comment by endemic

2 days ago

If this will stop the proliferation of terrible JavaScript implementations of <select>, I'm here for it.

I know LoC is a terrible metric, but it always shocks me that things like react-select require 30k LoC.

21% the size of the code of the Apollo Lander to configure/style a select dropdown.

  • react-select does a lot more than style the select though, so even after this new standard for customizable selects is supported everywhere, react-select will still have about the same level of complexity as it does now.

I salute your optimism. Really, this just gives developers more options to make designers lives more miserable, and vice-versa.

  • My thought was it is giving designers more options to make users’ lives more miserable.

I am honestly just blown away Google invested effort into a web standard that actually improves the web versus the dozens of web platform projects designed to let websites slurp more data.

This is something I actually look forward to being able to use when Firefox gets it.

There’s got to be a happy medium between using canvas to make the controls you actually want and browser-provided one-size-fits-nobody controls. I really thought MS was onto something with Silverlight’s with XAML but that died.