smotaal
10/12/2018 - 1:46 PM

Fragma: Concept: Throttle

Fragma: Concept: Throttle

Fragma (concept)

Okay, concept means messy and probably requires flags on nightly or the likes, agreed? Just don't expect this to be more than what it is!

Live Demos

throttle — renders n instances of a perpetually changing element

https://smotaal.github.io/experimental/fragma/alpha/throttle#n

  • #100
  • #1000
  • #2000 — a bit sluggish on iPhone X
  • #5000 — sluggish at best on iPhone X
  • #10000 — a bit sluggish on desktop
  • #20000 — sluggish at best everywhere

Changelog

  • Reoptimized replication rendering (closer to intended)

Works

  • Chrome Version 69.0.3497.100 (Official Build) (64-bit)
  • Firefox Nightly 64.0a1 (2018-10-06) (64-bit)
  • Safari Version 12.0 (14606.1.36.1.9) Using own fallback for IntersectionObserver

Not Yet!

  • Safari Technology Preview Unexpected CSS content: attr(data-attribute) behaviour