verlok / yieldy-for-loopLinks
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 5 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
Sorting:
- A Web Component to open code samples in CodePen☆33Updated 11 months ago
- A simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆22Updated last month
- Fast, small, zero-config library to format CSS using basic rules.☆12Updated 2 weeks ago
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆50Updated 8 months ago
- Use import('data:') and import(Blob) to execute arbitrary JavaScript strings☆15Updated last week
- An ultra-light web component framework☆41Updated 3 months ago
- A CLI spinner in under 1kB☆16Updated last year
- custom element that makes it easier to work with live regions☆17Updated 6 months ago
- Collection of utility functions for use with Scroll-Driven Animations☆35Updated 6 months ago
- A collection of handy resources for understanding font performance on the web☆27Updated 7 months ago
- Zero-dependency, no-build, copy-paste, client-side rendering framework for listing and rendering markdown content☆13Updated 4 months ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated 7 months ago
- Small utility to efficiently fetch the colors from an image.☆48Updated 2 months ago
- ☆20Updated 2 years ago
- Create URL interfaces without a base URL.☆19Updated 2 years ago
- A polyfill for imperative slotting☆25Updated 2 years ago
- ☆32Updated 2 years ago
- Change import URLs in JavaScript code using import maps. e.g. `import * from "before"` to `import * from "after"`☆24Updated 2 months ago
- Small library for experimenting with different ways to tame Shadow DOM☆16Updated last year
- An absurdly small glob matcher that packs a punch.☆49Updated this week
- Functions and objects that make it easier to add fields to Portable Text editors for accessibility meta information, like language change…☆24Updated 2 years ago
- 👓 Syntax Highlighting using the CSS Custom Highlight API☆40Updated last month
- Webpack plugin to tree-shake and minify JSON modules☆41Updated 3 years ago
- ☆48Updated last year
- Composable web component helpers for creating reactive web components that behave just like native HTML elements. WIP.☆11Updated last month
- Tests for at-import in CSS☆18Updated 2 weeks ago
- Small library for experimenting with ways to tame Shadow DOM in CSS☆48Updated last year
- Tool for inset-area syntax for anchoring☆16Updated last month
- 🎉 A curated list of awesome things related to CSS Anchor Positioning☆15Updated 6 months ago
- Snap a picture of HTML text☆42Updated 2 years ago