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 7 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☆91Updated 3 months ago
- custom element that makes it easier to work with live regions☆17Updated 9 months ago
- Fast, small, zero-config library to format CSS using basic rules.☆12Updated 3 weeks ago
- A micro-lib exporting an array of CSS selectors for focusable HTML elements.☆79Updated last year
- A simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆23Updated 3 months ago
- A Web Component to open code samples in CodePen☆32Updated last year
- Small library for experimenting with ways to tame Shadow DOM in CSS☆50Updated last year
- Small library for experimenting with different ways to tame Shadow DOM☆16Updated last year
- ☆48Updated last year
- An ultra-light web component framework☆43Updated 6 months ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated 9 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
- Collection of utility functions for use with Scroll-Driven Animations☆35Updated 9 months ago
- Snap a picture of HTML text☆42Updated 2 years ago
- ☆20Updated last week
- A plugin to run Lighthouse against a set of urls to see which site is the fastest.☆98Updated this week
- 🌈 Generate the nearest accessible color☆36Updated 2 years ago
- Use import('data:') and import(Blob) to execute arbitrary JavaScript strings☆16Updated last month
- A collection of handy resources for understanding font performance on the web☆29Updated 10 months ago
- Small utility to efficiently fetch the colors from an image.☆49Updated 2 weeks ago
- Project Wallace GitHub Action to report CSS diffs to PR's☆39Updated last year
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆50Updated last week
- A website dedicated to a history of foundational web development blog posts.☆20Updated last year
- Change import URLs in JavaScript code using import maps. e.g. `import * from "before"` to `import * from "after"`☆24Updated last month
- Tool for inset-area syntax for anchoring☆16Updated 4 months ago
- A Stylelint plugin for enforcing defensive CSS best practices.☆145Updated 2 weeks ago
- PostCSS plugin to remove all unused variables in a CSS file.☆37Updated last year
- Get browser versions as website or abpi☆37Updated 2 years ago
- Browser extension to debug Scroll-Driven Animations☆55Updated last year
- A CLI spinner in under 1kB☆16Updated last year