Introduction
Reusable, SOLID, and maintainable React hooks that you insert directly into your project.
TL;DR
Rehooks is a CLI that allows you to insert hooks directly to your project. It provides a wide range of hooks for common use cases, By using Rehooks CLI you can reduce the amount of code you need to write and focus on the core functionality of your application.
Rehooks is not a dependency to install, It is not available or distributed via npm. Select the hooks you need to insert into your project. Use this as a reference to build your own hooks.
Why use Rehooks?
By using the Rehooks CLI you will able to reduce the amount of unused and duplicated code in your application, and focus on the reusability & maintainability of your hooks.
Key Features
- 🔥 Lightweight and performant: Rehooks is written in TypeScript and bundled with
tsup
for maximum performance and compatibility. - 📦 Tree-shakable: Rehooks is tree-shakable, allowing you to use only the hooks you need.
- 🪄 Maintainable and extensible: The internal hooks are designed to be maintainable and reusable to make it easy to use based on your needs.
- 📝 Well-documented: Rehooks comes with detailed documentation and examples, making it easy to understand and use.
- 💪 Tested and maintained: Rehooks has a comprehensive test suite and is actively maintained by the community.
Ready to get started?
Checkout the Guide to start using Rehooks.