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.
☆14Updated 3 months 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 Web Component to open code samples in CodePen☆33Updated 10 months ago
- custom element that makes it easier to work with live regions☆17Updated 5 months ago
- 👓 Syntax Highlighting using the CSS Custom Highlight API☆38Updated last week
- Collection of utility functions for use with Scroll-Driven Animations☆34Updated 5 months ago
- A CLI spinner in under 1kB☆16Updated last year
- A polyfill for imperative slotting☆25Updated 2 years ago
- ☆20Updated 2 years ago
- 🎉 A curated list of awesome things related to CSS Anchor Positioning☆14Updated 5 months ago
- An extension of Testing Library focused on simulating keyboard-only users' behaviors☆45Updated 3 years ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated 5 months ago
- An ultra-light web component framework☆41Updated 2 months ago
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆51Updated 6 months ago
- Tests for at-import in CSS☆18Updated last week
- Small library for experimenting with ways to tame Shadow DOM in CSS☆47Updated last year
- Tool for inset-area syntax for anchoring☆16Updated last week
- Fast, small, zero-config library to format CSS using basic rules.☆12Updated this week
- A web component to add resizing behavior to test intrinsically sized responsive components.☆32Updated last year
- Rollup plugin to inline external styles in lit-element☆11Updated 2 years ago
- 🌈 Generate the nearest accessible color☆36Updated last year
- ☆32Updated 2 years ago
- A collection of handy resources for understanding font performance on the web☆27Updated 5 months ago
- Functions and objects that make it easier to add fields to Portable Text editors for accessibility meta information, like language change…☆24Updated last year
- A simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆18Updated 3 months ago
- Query for CSS brower support data, combined from caniuse and MDN, including version support started and global support percentages.☆69Updated 7 months ago
- A fast, and essential, noop/plain JS template literal tag.☆21Updated 9 months ago
- Small utility to efficiently fetch the colors from an image.☆47Updated last month
- JavaScript Package to calculate the Specificity of CSS Selectors☆86Updated 2 months ago
- Change import URLs in JavaScript code using import maps. e.g. `import * from "before"` to `import * from "after"`☆24Updated 2 weeks ago
- Glob search in constant time thanks to git cache☆26Updated 4 years ago
- Polyfill for the selectlist element☆57Updated last year