Rehooks

Introduction

Reusable, SOLID, and maintainable React hooks that you insert directly into your codebase.

What is Rehooks?

Rehooks is a CLI that allows you to insert hooks directly to your codebase. 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 codebase. 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.
  • 📦 Modular and tree-shakable: Rehooks is designed to be modular and tree-shakable, allowing you to only include the hooks you need in your application.
  • 🪄 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.

On this page