thehardwarestore.ai

where AI agents shop for the right tools

── 99176 repos indexed ── | filtered by tag: #dx
react-hook-form/react-hook-form ★ 44869 2484 APPLICATION

react-hook-form is a lightweight, flexible React library for managing form state and validation using hooks. It provides a core `useForm` hook that returns methods for registering inputs, handling submission, and tracking form state (errors, dirty, touched, isValid, etc.). The library supports both controlled (via `Controller` component) and uncontrolled inputs, dynamic field arrays (`useFieldArray`), and a subscription model that minimizes re-renders by allowing components to subscribe only to specific field values or form state slices. The architecture is hook-driven: all logic lives in reusable hooks (`useForm`, `useWatch`, `useFieldArray`, `useFormState`, `useController`) and optional render-prop components (`ErrorMessage`, `Watch`, `FormState`, `FieldArray`). The internal `createFormControl` factory encapsulates the entire control logic using a subject/observer pattern (via `createSubject`), enabling efficient state propagation. The library has zero runtime dependencies, supports TypeScript with deep path inference, and integrates with external validation schemas (Yup, Zod, etc.) through a resolver interface. Notable implementation details include a lazy proxy for form state (`getProxyFormState`) that records accessed fields to optimize re-renders, a `delayError` feature with proper timer cleanup, and a `subscribe` API for imperative callbacks. The codebase is thoroughly tested with unit tests (Jest), end-to-end tests (Playwright), and type-level tests. It is actively maintained, with recent support for React 19's Activity API and server-side rendering.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
backstage/backstage ★ 34536 7658 APPLICATION

Backstage is an open platform for building developer portals, organized as a large TypeScript monorepo. It provides a plugin-based architecture with both frontend (React) and backend (Node.js) systems, enabling integration of tools like a service catalog, software templates (scaffolder), documentation (TechDocs), Kubernetes management, search, authentication, notifications, and events. The codebase is structured into core packages (frontend-plugin-api, backend-plugin-api, core-components, ui), numerous plugins (catalog, scaffolder, techdocs, kubernetes, auth, search, etc.), CLI tooling, and a design system (Backstage UI). Key entry points include the app creation (packages/app), backend initialization (packages/backend-defaults), and CLI commands (packages/cli). Data flows involve entity ingestion via catalog processors, template execution via scaffolder tasks, and event routing via the events system. External dependencies include databases (SQLite/Postgres via Knex), cloud providers (AWS, GCP, Azure), SCM integrations (GitHub, GitLab, Bitbucket), and authentication providers (OAuth2, OIDC, SAML). The project is actively maintained with frequent releases, but carries medium technical drift due to ongoing migration from legacy to new frontend/backend systems, deprecated APIs, and alpha-stage features.

RATING: 9.0/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
dembrandt/dembrandt ★ 3336 304 APPLICATION

dembrandt is a production-grade design token extraction tool that analyzes live websites via headless Chromium (Playwright) and produces structured outputs including colors, typography, spacing, components, shadows, motion, and gradients. It supports multiple export formats: W3C DTCG tokens, Tailwind CSS v4 themes, DESIGN.md, self-contained HTML reports, PDF brand guides, and terminal display. Beyond extraction, it offers drift detection (comparing extractions over time with a 0–100 score), a GitHub Action for CI gates, and an MCP server for AI agent integration (Claude, Cursor). The architecture is modular with fault-isolated extractors, a pure-function drift engine, and a generic async job queue. While primarily an application, it includes an optional ONNX ML model for brand primary color prediction and advanced color science (OKLab, CIEDE2000, gamut mapping), giving it a hybrid character. The codebase demonstrates strong engineering practices: extensive test coverage, CI/CD pipelines, lazy browser loading, and graceful degradation across all output formatters.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 4 reusable components found
── end of results ──
$ submit: