verlok / yieldy-for-loop
A tiny utility for iterating over large arrays (or any iterable) in a non-blocking, “yieldy” way, inspired by the article “Breaking up with long tasks, or how I learned to group loops and wield the yield” (PerfPlanet 2024). It helps avoid freezing the main thread by periodically yielding control back to the browser.
☆12Updated 2 weeks ago
Alternatives and similar repositories for yieldy-for-loop:
Users that are interested in yieldy-for-loop are comparing it to the libraries listed below
- A CLI spinner in under 1kB☆15Updated 10 months ago
- Tool for inset-area syntax for anchoring☆16Updated 5 months ago
- ☆16Updated last year
- Tests for at-import in CSS☆15Updated this week
- An absurdly small glob matcher that packs a punch.☆46Updated 10 months ago
- ☆11Updated 2 years ago
- custom element that makes it easier to work with live regions☆17Updated 2 months ago
- Alternative JSON.stringify function with sorted keys, so the output is stable.☆13Updated 2 weeks ago
- Collection of utility functions for use with Scroll-Driven Animations☆33Updated 2 months ago
- Rollup plugin to inline external styles in lit-element☆12Updated 2 years ago
- A collection of handy resources for understanding font performance on the web☆26Updated 2 months ago
- ☆20Updated 2 years ago
- Webpack plugin to tree-shake and minify JSON modules☆41Updated 3 years ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- WAI-ARIA utilities for HTML based on the ARIA 1.3 spec☆36Updated this week
- The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.☆16Updated this week
- ☆46Updated last year
- A React-based ponyfill for `field-sizing: content`☆24Updated last year
- micro positioning library☆21Updated 3 weeks ago
- Create URL interfaces without a base URL.☆19Updated last year
- A polyfill for imperative slotting☆25Updated 2 years ago
- A web component to add resizing behavior to test intrinsically sized responsive components.☆32Updated last year
- Proposal for improving styling of the HTML details element☆12Updated 3 months ago
- Snap a picture of HTML text☆41Updated last year
- 🤖 Script to automate creating built branches☆21Updated 2 years ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆12Updated 2 months ago
- An esbuild plugin to load HTML modules☆43Updated 3 months ago
- ☆25Updated this week
- Functions and objects that make it easier to add fields to Portable Text editors for accessibility meta information, like language change…☆24Updated last year
- Script to squash the commits in the current Git branch☆22Updated last year