Ross ROSS = Recommend OSS · open-source software intelligence for agents

matthewp/haunted

Some data may be outdated — see provenance labels.

React's Hooks API implemented for web components 👻 observed · 2026-09-21

github.com/matthewp/haunted · TypeScript · BSD-2-Clause (permissive) observed · 2026-09-21

Health v2 · maintenance only

77/100

  • Activity 95
  • Release rhythm 40
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 3
  • age_days: 2915
  • days_rel: 606
  • days_push: 32
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2719 stars · 90 forks observed · 2026-09-21

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Haunted is a TypeScript library that brings React's Hooks API (useState, useEffect, useContext, etc.) to standard web components, using lit-html or hyperHTML as renderers. It lets you define custom elements as plain functions with hooks, reusing existing React hooks from npm via bundler aliasing.

Use cases

  • use react hooks in web components
  • build custom elements without a framework
  • write function-based web components with state
  • reuse react hooks libraries in web components
  • lightweight alternative to react for component development
  • create web components with lit-html rendering

When to choose

  • you want React-style hooks ergonomics in standards-based web components
  • you need framework-agnostic components usable across React, Vue, or plain HTML
  • you prefer a tiny library over a full framework like React or Lit

When to avoid

  • you are building a full React application with its ecosystem
  • you need class-based web components or Lit's full feature set
  • your team has no familiarity with the hooks mental model

Facets

library · maturity active

frontend-framework ui-components state-management web-development frontend developer-tools browser web-components react-hooks lit-html hyperhtml custom-elements shadow-dom web-server nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
matthewp/hauntedmain77

For agents

markdown · JSON · MCP: product_card(name="matthewp/haunted")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem