@filter-enginez/react-rxjs
v0.0.6
Published
React hooks for faceted search and filtering over RxJS: results, counts and filter state from the Filter EngineZ engine as hooks.
Maintainers
Readme
@filter-enginez/react-rxjs
React hooks over @filter-enginez/reactive-rxjs. Browser-only. The same hook set as react-signals — including
useEngineBusy, over reactive-rxjs's EngineBusyStream — consuming RxJS Observables instead of signals, plus
useObservable for writing hooks over other engine streams. Keyboard handlers (Cmd/Ctrl-Z for undo; Cmd/Ctrl-Shift-Z
and Cmd/Ctrl-Y for redo) live in the ./keyboard sub-export.
Install
pnpm add @filter-enginez/react-rxjsPeer dependencies: react@^19.0.0 — supplied by your app.
Sub-exports: @filter-enginez/react-rxjs/keyboard.
Errors
useFilterEngine() outside a <FilterEngineProvider> throws FilterEngineConfigError with code
BINDING_ENGINE_NOT_PROVIDED.
Documentation
Consumer guides live in the engine repository under docs/guides/:
extending_rules.md— writing a customFilterRulethat survives serializationjson_config.md— declaring filters as data, and why the format is safe to accept from a tenantacceleration_tuning.md— what the fiveaccelerationtoggles are worth, measuredworker_offload.md— running the engine in a Web Worker
Project home, with six live demos: https://filterenginez.com. Documentation site: https://docs.filterenginez.com.
Apache-2.0. See LICENSE.md and NOTICE.md, both included in this package.
