SSE Hooks

Installation

Get started with sse-hooks in your React or Next.js project.

Quick Start

The easiest way to use sse-hooks is via our CLI tool. This allows you to interactively manage hooks and add only what you need to your project.

You can initialize the tool with:

Terminal
npx sse-tool init

Once initialized, you can manage your hooks using the following commands:

  1. List available hooks to see what you can install:
    npx sse-tool list
    
  2. Add a specific hook directly to your project:
    npx sse-tool add <hook-name>
    

That's it! The hook will be added to your project structure automatically 🚀


Package Manager

If you prefer to install the entire library as a dependency, you can use your favorite package manager:

npm install sse-hooks
Built with Love • © 2026