aom icon indicating copy to clipboard operation
aom copied to clipboard

Reflection polyfill guidance

Open jonathantneal opened this issue 5 years ago • 0 comments

I know there is so much more to the AOM than this, but will you be maintaining a polyfill for the reflection properties (Phase 1a, IIRC)?

I learned about these last night and wrote a lightdom polyfill after I couldn't find one on npm. It requires about 500 bytes (gzipped) to cover the getters, and then the setters add another 200, but I’m hoping the whole thing can come in under 1kB (and 1.5kb without gzip).

With that in mind, if it were appropriate to publish at this stage in the process, should any "polyfill" be exposed as a "ponyfilled" instead?

jonathantneal avatar Dec 04 '19 15:12 jonathantneal