Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This lets you provide an implementation for a CSS feature that is perhaps not yet implemented by browsers, or maybe never will be.

You could always do this with Javascript, and some people have been. See: https://philipwalton.github.io/polyfill/

But this lets you do it in a less hacky, and especially, more performant way.

The author of that JS CSS polyfill library above actually wrote in 2016 how that approach was proving a bad idea, and the right way to do this was the houdini API... I guess we've been waiting for it since 2016? This is the first I had heard of it. https://philipwalton.com/articles/the-dark-side-of-polyfilli...



Plus, something people often forget is that the features required to polyfill and the features required to produce a proof-of-concept/prototype are really quite similar.

Enabling JS devs to experiment with things up front before they go to the standards track and the effort of full browser implementations will have a lot of cool advantages, I hope.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: