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.
☆13Updated last month
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☆16Updated 11 months ago
- custom element that makes it easier to work with live regions☆17Updated 3 months ago
- A polyfill for imperative slotting☆25Updated 2 years ago
- A simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆17Updated last month
- ☆20Updated 2 years ago
- A Web Component to open code samples in CodePen☆33Updated 8 months ago
- A web component to add resizing behavior to test intrinsically sized responsive components.☆32Updated last year
- Collection of utility functions for use with Scroll-Driven Animations☆34Updated 3 months ago
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆51Updated 4 months ago
- ☆11Updated 2 years ago
- An extension of Testing Library focused on simulating keyboard-only users' behaviors☆45Updated 2 years ago
- Create URL interfaces without a base URL.☆19Updated last year
- ☆25Updated this week
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆12Updated 3 months ago
- ☆47Updated last year
- ☆16Updated last year
- References design tokens in CSS intelligently based on the current property and selector rules☆17Updated 4 years 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
- Tests for at-import in CSS☆15Updated 3 weeks ago
- An absurdly small glob matcher that packs a punch.☆46Updated 2 weeks ago
- A collection of handy resources for understanding font performance on the web☆27Updated 3 months ago
- ☆32Updated 2 years ago
- WAI-ARIA utilities for HTML based on the ARIA 1.3 spec☆36Updated 3 weeks ago
- Astro version of Alex Riviere's https://css-tricks.com/css-trickz-an-experiment-with-netlifys-on-demand-builders/☆27Updated 3 years ago
- Tool for inset-area syntax for anchoring☆16Updated 6 months ago
- Change import URLs in JavaScript code using import maps. e.g. `import * from "before"` to `import * from "after"`☆24Updated last year
- Webpack plugin to tree-shake and minify JSON modules☆41Updated 3 years ago