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.
☆15Updated 9 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 simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆23Updated 5 months ago
- custom element that makes it easier to work with live regions☆17Updated 11 months ago
- JavaScript Package to calculate the Specificity of CSS Selectors☆92Updated 5 months ago
- A micro-lib exporting an array of CSS selectors for focusable HTML elements.☆79Updated last year
- An ultra-light web component framework☆44Updated 8 months ago
- Collection of utility functions for use with Scroll-Driven Animations☆36Updated 11 months ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated 11 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 2 months ago
- Use import('data:') and import(Blob) to execute arbitrary JavaScript strings☆17Updated 3 months ago
- Small library for experimenting with ways to tame Shadow DOM in CSS☆50Updated last year
- A CLI spinner in under 1kB☆16Updated last year
- ☆50Updated 2 years ago
- a modern color picker for the web with support for all spaces☆43Updated this week
- Small utility to efficiently fetch the colors from an image.☆57Updated 2 months ago
- ☆32Updated 2 years ago
- A Web Component to open code samples in CodePen☆32Updated last year
- PostCSS plugin to run lightningcss☆47Updated last month
- 🌈 Generate the nearest accessible color☆36Updated 2 years ago
- References design tokens in CSS intelligently based on the current property and selector rules☆17Updated 5 years ago
- An extension of Testing Library focused on simulating keyboard-only users' behaviors☆42Updated 3 years ago
- Base CSS endorsing semantic HTML and design token usage☆36Updated last year
- A polyfill for imperative slotting☆25Updated 3 years ago
- Small library for experimenting with different ways to tame Shadow DOM☆16Updated last year
- A plugin to run Lighthouse against a set of urls to see which site is the fastest.☆98Updated 2 months ago
- Fast, small, zero-config library to format CSS using basic rules.☆13Updated last week
- PostCSS plugin to use AVIF in CSS background☆44Updated 2 years ago
- Add next/previous buttons to a horizontal scrollable container.☆128Updated last year
- ☆20Updated 2 months ago
- A collection of handy resources for understanding font performance on the web☆29Updated last year