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:

npx sse-hooks init

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

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

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

Built with Love • © 2026