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 last year
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 last year
- A simple HTML web component that implements the roving tabindex pattern for building accessible menus and grids. Use it with any framewor…☆24Updated 8 months ago
- A micro-lib exporting an array of CSS selectors for focusable HTML elements.☆79Updated last year
- JavaScript Package to calculate the Specificity of CSS Selectors☆95Updated 7 months ago
- A Web Component to surface an audio or video's duration as a CSS Custom Property☆13Updated last year
- Use import('data:') and import(Blob) to execute arbitrary JavaScript strings☆37Updated last month
- 🎉 A curated list of awesome things related to CSS Anchor Positioning☆17Updated last year
- custom element that makes it easier to work with live regions☆17Updated last year
- Collection of utility functions for use with Scroll-Driven Animations☆36Updated last year
- Small utility to efficiently fetch the colors from an image.☆60Updated last month
- Small library for experimenting with ways to tame Shadow DOM in CSS☆50Updated last year
- An ultra-light web component framework☆44Updated 10 months ago
- Add next/previous buttons to a horizontal scrollable container.☆129Updated last year
- ☆51Updated 2 years ago
- A PostCSS plugin for optimizing font loading layout shifts using fontpie!☆50Updated 5 months ago
- A plugin to run Lighthouse against a set of urls to see which site is the fastest.☆98Updated 4 months ago
- A website dedicated to a history of foundational web development blog posts.☆20Updated last year
- Small library for experimenting with different ways to tame Shadow DOM☆16Updated 2 years ago
- A CLI spinner in under 1kB☆16Updated last year
- A polyfill for imperative slotting☆25Updated 3 years 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 modern color picker for the web with support for all spaces☆129Updated this week
- Return an optimized avatar image from a domain name input.☆67Updated 10 months ago
- Fast, small, zero-config library to format CSS using basic rules.☆15Updated 2 weeks ago
- ☆32Updated 2 years ago
- Web component to add a three-dimensional hover effect to a card.☆52Updated last year
- References design tokens in CSS intelligently based on the current property and selector rules☆17Updated 5 years ago
- PostCSS plugin to run lightningcss☆49Updated 2 months ago
- PostCSS plugin to remove all unused variables in a CSS file.☆38Updated last year
- PostCSS plugin to use AVIF in CSS background☆45Updated 2 years ago