React Setup

refinerdb-react is a React wrapper around the core engine, refinerdb.

Installation

npm install refinerdb-react

Quick Start

  1. Define your indexes (see indexes.ts)
  2. Wrap you app in a RefinerDBProvider (see App.tsx)
  3. Refine the items (see refiners.tsx)
  4. Display the results (see ResultsView.tsx)

The following example is interactive! Play around with it!

Philosophy