{"id":31334894,"url":"https://github.com/dagnygus/ng-queuex","last_synced_at":"2026-03-05T19:02:20.672Z","repository":{"id":315801757,"uuid":"1060361983","full_name":"dagnygus/ng-queuex","owner":"dagnygus","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-23T22:51:42.000Z","size":2030,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T10:23:02.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dagnygus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T19:31:23.000Z","updated_at":"2026-01-23T22:51:46.000Z","dependencies_parsed_at":"2025-09-20T21:16:46.865Z","dependency_job_id":"6e2a6034-b306-4daa-baba-6e0dabc4f661","html_url":"https://github.com/dagnygus/ng-queuex","commit_stats":null,"previous_names":["dagnygus/ng-queuex"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dagnygus/ng-queuex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagnygus%2Fng-queuex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagnygus%2Fng-queuex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagnygus%2Fng-queuex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagnygus%2Fng-queuex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dagnygus","download_url":"https://codeload.github.com/dagnygus/ng-queuex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagnygus%2Fng-queuex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-26T02:01:35.935Z","updated_at":"2026-03-05T19:02:20.643Z","avatar_url":"https://github.com/dagnygus.png","language":"TypeScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Performance"],"readme":"![alt text](./ng_queuex_logo.png)\n# ng-queuex\n\n**Queuex** is an experimental ecosystem for Angular that introduces a React-inspired **concurrent scheduler**  \nand a set of **signal-driven structural directives** for fine-grained, isolated change detection.  \n\nUnlike traditional Angular patterns (services, RxJS-heavy abstractions), Queuex provides a **minimal API**:  \njust a scheduler exposed in simple functional API and directives built directly on top of Angular’s Signal API.\n\n---\n\n## ✨ Why Queuex?\n\nAngular's default change detection is global, synchronous, and tied to the logical tree.  \nQueuex takes a different approach:\n\n- 🔹 **Minimal \u0026 functional API** – no services, no RxJS boilerplate, just functions and signals.  \n- 🔹 **Concurrent scheduler** – inspired by React, with priority levels and abortable tasks.  \n- 🔹 **Fine-grained change detection** – run detection only where it’s needed.  \n- 🔹 **Hydration-aware** – application stabilization (`ApplicationRef#onStable`) waits until the scheduler is idle.  \n- 🔹 **Server-side transparent** – on the server, all directives gracefully fall back to Angular’s native behavior.  \n\n---\n\n## 📦 Packages\n\n### [@ng-queuex/core](./projects/ng-queuex/core/README.md)\nCore utilities and the concurrent scheduler.\n\n⚠️ **Note**: Scheduling functions are **client-side only**.  \nOn the server they intentionally throw, ensuring that developers provide explicit server side fallbacks (as demonstrated in `@ng-queuex/template`).  \nOther utilities in this package remain safe to use in both environments.\n\n\n- `scheduleTask()` – enqueue clean, abortable tasks.  \n- `detectChanges()` / `scheduleChangeDetection()` – enqueue dirty tasks with built-in coalescing.  \n- Designed to be minimal and functional: no Angular DI services, no RxJS.  \n- Hydration-aware: delays `ApplicationRef#onStable` until the scheduler is idle. \n\n➡️ [Read more](./projects/ng-queuex/core/README.md)\n\n---\n\n### [@ng-queuex/template](./projects/ng-queuex/template/README.md)\nSignal-driven structural directives powered by the core scheduler.\n\n⚠️ **Note**: All directives are built upon signal APIs, so its usage is **restricted to immutable objects**.  \n\n- `*qxIf` – granular alternative to `NgIf`.  \n- `*qxFor` – concurrent alternative to `NgForOf`.  \n- `*watch` – elegant property binding to DOM.  \n- `*qxSwitch`, `*qxSwitchCase`, `*qxSwitchDefault`.  \n- `*lazyView`, `*scheduledView`, `*reactiveView` – lazy rendering with different levels of isolation and scheduling.  \n- All directives are **SSR-friendly** with transparent fallbacks, and compatible with **Hydration**.\n\n➡️ [Read more](./projects/ng-queuex/template/README.md)\n\n---\n\n## 🚀 Getting Started\n\nInstall the main packages:\n\n```bash\nnpm install https://github.com/dagnygus/ng-queuex/releases/download/v0.0.4/ng-queuex-core-0.0.5.tgz\n```\n```bash\nnpm install https://github.com/dagnygus/ng-queuex/releases/download/v0.0.4/ng-queuex-template-0.0.5.tgz\n```\n\n## 🛠 Example\n\n```ts\nimport { scheduleTest, Priority } from \"@ng-queuex/core\"\n\nconst abort = scheduleTask(() =\u003e {\n  console.log('running with highest priority.')\n}, Priority.Highest)\n\n// Later, if needed\nabort();\n```\n```html\n\u003cspan *watch [textContent]=\"personName()\"\u003e\u003c/span\u003e\n```\n\n## 📖 Public API\n\n[@ng-queuex/core](./projects/ng-queuex/core/README.md)\u003cbr\u003e\n[@ng-queuex/template](./projects/ng-queuex/template/README.md)\n\n## 🗺 Roadmap\n\n- ✅ Core scheduler (done) \n- ✅ Template directives (done)\n- 🔄 Package dedicated for angular signals\n- 🔄 Virtual scrolling and virtualization\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagnygus%2Fng-queuex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdagnygus%2Fng-queuex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagnygus%2Fng-queuex/lists"}