Skip to content

SignalDB React Integration

SignalDB can be integrated with React using the signaldb-react package. This package provides the necessary bindings to use SignalDB with React components. Also check out our guide on how to use SignalDB with React.


You can install the signaldb-react package using npm. Open your terminal and enter the following command:

  npm install signaldb-react


The signaldb-react package exports the following components and hooks:


This function creates a custom hook that provides reactivity to your components. It takes a function as the single argument that specifies the effect function of a reactive library. The effect function must have the following signature:

(reactiveFunction: () => void) => () => void

The provided function is called with a reactive function that should be executed when the reactivity changes. The returned function is the cleanup function that removes the effect.

Released under the MIT License.