# yyx990803/vue-hooks

Experimental React hooks implementation in Vue

Repository: https://github.com/yyx990803/vue-hooks
Canonical: https://ross.abutalabs.com/products/vue-hooks
Language: JavaScript
License Family: other
Archived: true
Last push: 2020-04-29T19:59:15+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2867, "days_push": 2317, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1586, forks 65 (observed 2026-08-28T04:05:07.658249+00:00)

## What it is
An experimental proof-of-concept library that brings React-style hooks (useState, useEffect, custom hooks) to Vue 2 components. It is archived and superseded by Vue's official Composition API.

## Use cases
- use React hooks patterns in Vue 2 components
- write custom hooks like useWindowWidth in Vue
- experiment with function-based component composition in Vue
- map Vue options API (data, computed, watch, lifecycle) to hook-style functions

## When to choose
- studying how hooks work or how Vue's Composition API evolved from this PoC
- maintaining a legacy Vue 2 codebase that already uses this library

## When to avoid
- any new or production project - use Vue 3 Composition API instead
- Vue 3 applications, which have built-in hooks-inspired APIs
- teams needing maintained, supported libraries

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, frontend-framework
- domain: frontend, web-development, developer-tools
- platform: -
- tags: vue, react-hooks, hooks, proof-of-concept, archived, composition-api, javascript

## Member repositories
- yyx990803/vue-hooks (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.658249+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:30.769846+00:00, confidence not recorded.
  - readme: https://github.com/yyx990803/vue-hooks (fetched 2026-08-28T04:05:07.658249+00:00, sha 9a4dc53c86f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
