git404hub

what is vue-hooks fr?

yyx990803/vue-hooks — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2020-04-29

1,588JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

tl;dr

An archived experiment that brought React-style hooks into Vue for reusable component logic, superseded by Vue's official Composition API.

vibe map

mindmap
  root((repo))
    What it did
      React-style hooks
      Reusable logic
      Two hook styles
    Tech stack
      JavaScript
      Vue 2
    Status
      Archived project
      Replaced by Composition API
    Audience
      Vue developers
      Framework historians

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Study how Vue experimented with a React-hooks-style API before landing on the Composition API.

VIBE 2

Learn the historical design tradeoffs between React-style useState/useEffect and Vue-native useData/useComputed.

VIBE 3

Reference the window-resize hook example to understand composable logic patterns in older Vue code.

VIBE 4

Compare this archived approach against Vue's official Composition API to see why the latter won out.

what's the stack?

JavaScriptVue

how it stacks up fr

yyx990803/vue-hooksmafintosh/csv-parseriptv-org/database
Stars1,5881,5001,481
LanguageJavaScriptJavaScriptJavaScript
Last pushed2020-04-292026-05-072026-06-21
MaintenanceDormantMaintainedActive
Setup difficultyeasyeasyeasy
Complexity2/51/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 30min

Archived and unmaintained, not recommended for new projects, use Vue's Composition API instead.

prompts (copy fr)

prompt 1
Explain how this archived vue-hooks project's useState and useEffect functions compare to Vue's official Composition API.
prompt 2
Show me the window-resize hook example from vue-hooks and how I'd rewrite it using Vue 3's Composition API today.
prompt 3
Why was this vue-hooks project archived, and what specific advantages does the Composition API have over it?
prompt 4
Walk me through the difference between vue-hooks' React-style API and its Vue-native useData/useComputed alternative.
prompt 5
If I found old code using vue-hooks, how would I migrate it to Vue 3's Composition API?

Frequently asked questions

what is vue-hooks fr?

An archived experiment that brought React-style hooks into Vue for reusable component logic, superseded by Vue's official Composition API.

What language is vue-hooks written in?

Mainly JavaScript. The stack also includes JavaScript, Vue.

Is vue-hooks actively maintained?

Dormant — no commits in 2+ years (last push 2020-04-29).

How hard is vue-hooks to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is vue-hooks for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.