Masthash

#polyfill

Inautilo
1 month ago

#Development #Launches
Scroll-timeline polyfill · If you can’t wait for cross-browser CSS Scroll-Driven Animations https://ilo.im/14zf49

_____
#WebDev #Frontend #CSS #JavaScript #Polyfill #ScrollDrivenAnimations

Jan :rust: :ferris:
4 months ago

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:

https://webassembly.org/docs/faq/

#WebDev #JS #Polyfill

robrich
6 months ago

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.

Inautilo
8 months ago

#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

Jim
10 months ago

Progressive rendering working on #jxl #wasm #polyfill! #jpegxl

Rodion Borisov
10 months ago

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!

Rodion Borisov
10 months ago

#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.

#TIL #JavaScript #buildless #AreWeThereYet

Miriam (still)
10 months ago

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?

#css #polyfill

kalvn
3 years ago

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 #lazyloadinghttps://links.kalvn.net/?WjACyg