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:
- JavaScript Package to calculate the Specificity of CSS Selectors☆89Updated last month
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated 7 months ago
- A Web Component to open code samples in CodePen☆32Updated last year
- custom element that makes it easier to work with live regions☆17Updated 7 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
- A collection of handy resources for understanding font performance on the web☆27Updated 8 months ago
- A micro-lib exporting an array of CSS selectors for focusable HTML elements.☆79Updated 10 months ago
- 🌈 Generate the nearest accessible color☆36Updated last year
- Add next/previous buttons to a horizontal scrollable container.☆125Updated last year
- An ultra-light web component framework☆41Updated 4 months ago
- Collection of utility functions for use with Scroll-Driven Animations☆35Updated 7 months ago
- 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
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆50Updated 8 months ago
- Snap a picture of HTML text☆42Updated 2 years ago
- Use import('data:') and import(Blob) to execute arbitrary JavaScript strings☆15Updated 3 weeks ago
- An extension of Testing Library focused on simulating keyboard-only users' behaviors☆44Updated 3 years ago
- PostCSS plugin to transform clamp() to combination of min/max☆29Updated 2 years ago
- ☆20Updated 2 years ago
- Small library for experimenting with ways to tame Shadow DOM in CSS☆49Updated last year
- A little utility to add resizing behavior to test intrinsically sized responsive components.☆49Updated 2 years ago
- Return an optimized avatar image from a domain name input.☆67Updated 3 months ago
- Fast, small, zero-config library to format CSS using basic rules.☆12Updated last month
- References design tokens in CSS intelligently based on the current property and selector rules☆17Updated 4 years ago
- Get browser versions as website or abpi☆37Updated 2 years ago
- Small utility to efficiently fetch the colors from an image.☆48Updated 3 months ago
- Small library for experimenting with different ways to tame Shadow DOM☆16Updated last year
- A CLI spinner in under 1kB☆16Updated last year
- Tool for inset-area syntax for anchoring☆16Updated 2 months ago
- ☆32Updated 2 years ago
- Project Wallace GitHub Action to report CSS diffs to PR's☆38Updated last year