vue-hooks is an archived proof of concept that experimented with bringing hook-style component logic to Vue before Vue gained its own Composition API. It implements React-inspired patterns such as useState, useEffect, and reusable custom hooks. The project also includes Vue-oriented hooks for reactive data, computed values, watchers, and lifecycle events. Components can be wrapped with withHooks or use the hooks plugin inside more traditional Vue components. Example files demonstrate state, effects, computed values, lifecycle handling, and shared logic. The author explicitly described the library as experimental and unsuitable for production. Development ended after Vue introduced an official hooks-inspired composition model, making the repository mainly useful as a historical design experiment.

Features

  • React-style useState and useEffect
  • Reusable custom hooks
  • Reactive data and computed hooks
  • Watcher and lifecycle hooks
  • Integration with standard Vue components
  • Archived Composition API precursor

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow vue-hooks

vue-hooks Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vue-hooks!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2 hours ago