This is both awesome and cursed :awesome: 😬:
polywasm - a #JavaScript library that implements the #WebAssembly API and can act as a polyfill, if #WASM is not available.
Made by the creator of #esbuild evanw.
https://github.com/evanw/polywasm
I'm wondering, though, whether this is really needed, given that there is asm.js 🤔
Also see section "Can WebAssembly be polyfilled?" on the WebAssembly FAQ:
#JavaScript #WebAssembly #WASM #esbuild #webdev #js #polyfill
https://dev.to/jh3y/can-we-create-a-resize-hack-with-container-queries-3pe0 - `contain:` is amazing at handling #css based on size of the parent rather than the page. But what if we need to #polyfill it? Great explorations @jhey.
Watching the #corejs issue.
The developer of an absurdly popular open-source project which helps Javascript developers deal with old, broken, or out-of-date browsers has had it with open source. He is considering to abandon the project or change the license.
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
#Development #Introductions
Scrollend, a new JavaScript event · The reliable way to detect if a user scroll is complete https://ilo.im/10nxt8
_____
#WebDevelopment #WebDev #Frontend #JavaScript #EcmaScript #Scrollend #Event #ProgressiveEnhancement #Polyfill #UseCase
#development #introductions #webdevelopment #webdev #frontend #javascript #ecmascript #scrollend #event #progressiveenhancement #polyfill #usecase
Released v0.1.0 of indirect_value lite.
indirect_value: a free-store-allocated value type for C++ (p1950).
https://github.com/martinmoene/indirect-value-lite/releases/tag/v0.1.0
✴️ A :nth-child(An+B [of S]?) polyfill thanks to CSS :has()
by @bramus
#css #polyfill #selectors
https://www.bram.us/2022/12/14/a-nth-childanb-of-s-polyfill-thanks-to-css-has/
Just made a conclusion that avoiding #CSSinJS makes sense only for reset stylesheet, and even then you'd want to inject it via #JS Import Assert syntax (es-module-shims #polyfill). Embrace single-file #WebComponents, #KISS!
#cssinjs #js #polyfill #webcomponents #kiss
#WebComponents experience :underheart:
:sadness: Browsers don't have the same baseline styles.
:fatyoshi: 2 hours figuring out how to avoid #frameworks and #bundlers.
:AngeryCat: 3 hours of searching framework anyway, only to stumble upon options that either, like #LitElement, have minified bundle without #TS declaration or, like #StencilJS, require building.
:tinking: Ending up writing my own nano-framework with adoptedStyleSheets #polyfill.
#webcomponents #frameworks #bundlers #litelement #ts #stenciljs #polyfill #til #javascript #buildless #arewethereyet
Do you use CSS polyfills? Do they (or would they) help you adopt new CSS features more quickly? Or do you just wait for browsers to catch up?
GitHub - mfranzke/loading-attribute-polyfill: Fast and lightweight dependency-free vanilla JavaScript polyfill for native lazy loading / the awesome loading='lazy'-attribute.
https://github.com/mfranzke/loading-attribute-polyfill
Un polyfill pour l'attribut `loading="lazy"` des éléments images et iframe.
#html #polyfill #lazyloading — https://links.kalvn.net/?WjACyg