3 ms·
Great for all my cases where when my <cat> elements cleanly inherits from <animal>! I could be misreading this, but it looks like this project is overriding th
by toastal 3y ago
Great for all my cases where when my <cat> elements cleanly inherits from <animal>!
I could be misreading this, but it looks like this project is overriding the UA’s `querySelector` family of methods, which doesn’t quite sit right. I thought it was a best practice to level the built-in prototypes alone.
- toastal 3y agoinherit* from to leave* the built-in prototypes alone
- phrasecode 3y agoMonkey-patching native DOM APIs is really how polyfills are made. This way, people are able to simulate an idea and have a more productive conversation around it. All with a view to having it succeeded by a native implementation.