mrkeyoor.comAsk

pubkey/rxdbtested 02 Oct 2026commit d154ca8

rxdb review

Our RxDB run built in 19 seconds, but the test command exited 1 after 1,477 Mocha passes because npm could not find test:browser.

  • Install 307 s
  • Build 19 s
1,477/1,477passed, run exited non-zero
  • 1,726 packages
Dataevaluationupdated 08 Nov 2026
+4stars / 7d

RxDB (Reactive Database) is a local-first database for JavaScript applications that stores data near the user and can synchronize it with a backend. Screens can subscribe to changing query results or document fields instead of repeatedly asking for fresh data.

Verdict

Our RxDB run built in 19 seconds, but the test command exited 1 after 1,477 Mocha passes because npm could not find test:browser. RxDB is worth a focused trial for reactive local data when you can own the backend sync contract and accept the chosen adapter's license. Require a working trial on your target storage before committing application data to it.

We ran it

Lab card: what happened when we ran rxdb
Lab card from our sandbox run
Screenshot of rxdb (rxdb.info)
rxdb.info
Install✓ · 307s1726 packages · 1177 MB
Build✓ · 19s
Tests✗ · 103s1477 passed · 0 failed of 1477 (mocha)
Known vulns00 critical · 0 high · 0 moderate · 0 low (npm audit)
Repo1586 files~140,131 lines of source · 20.5 MB · 9 CI workflows · tests dir

Answers from our run

Does rxdb build from source?

Dependencies installed in 307 seconds (1726 packages), and the build succeeded in 19 seconds. We cloned commit d154ca8 into a clean Debian container with 3 CPUs and no project-specific setup.

Do rxdb's tests pass?

No. The project's own test command finished in 103 seconds and reported 1477 passed, 0 failed (mocha).

Does rxdb have known vulnerabilities in its dependencies?

npm audit found none in the dependency tree at the time of our run.

Who should not use rxdb?

Teams requiring OPFS, SQLite or the other named Pro plugins under exclusively open-source terms: those plugins sit in a commercial tier.

What are the alternatives to rxdb?

Dexie.js, Apache PouchDB. Our RxDB run built in 19 seconds, but the test command exited 1 after 1,477 Mocha passes because npm could not find test:browser.

Setup3/5Our source checkout installed in 307 s and built in 19 s, a heavy install of 1,726 dependencies, and we did not run a README task.Editor’s note: Not assessed: installation was not reproduced in a supported environment, and application setup on a chosen adapter was not verified.
Docs4/5Under the visible documentation rubric, the README, replication guide and premium page explain storage selection, retry obligations and licensing. Their paths were not all executed.
Community5/5Last push on 2026-11-08 and 23,427 stars.Editor’s note: Push and issue activity were inspected, but support responsiveness and maintainer capacity were not assessed.
Maturity4/5Latest release 17.6.0 on 2026-10-05, repository created 2016-12-02 and its test command exited with an error in our sandbox even though all 1,477 tests it reported passed.Editor’s note: The source build and partial test output do not assess production durability or synchronization across the documented storage combinations.

How we score

Discussed on

  1. hnRxdb: A reactive database where you can subscribe to the result of a query288 points
  2. hnRxDB – a real-time database on top of PouchDB172 points
  3. hnReactive Offline-first Database74 points
  4. hnRxDB – Local JavaScript-Database60 points
  5. hnShow HN: Rxdb – A fast, reactive, client-side database52 points

Who it’s for

JavaScript teams whose interfaces need local edits and subscriptions to changing data.
Developers who can adapt an existing backend to the replication contract.
Teams willing to choose and verify a storage adapter for their target runtime.

Who it’s NOT for

Teams requiring OPFS, SQLite or the other named Pro plugins under exclusively open-source terms: those plugins sit in a commercial tier.
Applications whose backend cannot tolerate duplicate sync transmissions and cannot be changed: the replication documentation requires that behavior.
Teams treating this run as browser qualification: the overall command failed when npm could not find test:browser.

Setup reality

In our October 2, 2026 run at d154ca8, installation succeeded in 307 seconds with 1,726 dependencies and 1,177 MB on disk. The build succeeded in 19 seconds. Tests exited 1 after 103 seconds: Mocha reported 1,477 passed and zero failed, then npm reported a missing test:browser script. The recorded npm audit found zero known vulnerabilities.

The README starts with the rxdb and rxjs packages, a storage adapter and a collection schema. Synchronization needs a compatible backend; credentials depend on that backend. Named Pro storage plugins require commercial licensing. The repository dependency footprint does not measure an application bundle.

The sandbox configuration recorded 3 CPUs, 8 GB of RAM and image lab-node:22. That label does not establish actual runtime or operating-system versions. Our run did not verify the documented browser, mobile or desktop storage combinations.

RxDB makes sense when a screen needs to keep accepting edits without waiting for the server. Its reactive queries let the interface subscribe to changing data, while its replication system can connect that local database to an existing backend. The decision I'd make before adopting it is which storage adapter and sync contract the application will actually use.

Our sandbox built the repository successfully. The overall test command still failed after Mocha reported 1,477 passes. Those findings support a closer evaluation, with a clear boundary: this run doesn't establish browser behavior or reliable synchronization in your app.

Reactive queries help when local data drives the screen

The README describes subscriptions to query results and individual document fields. Its example stores hero documents under a schema, queries their health points, and subscribes to the result. You can see the appeal for an interface that must reflect local edits without repeatedly fetching the same data from a server.

Storage is interchangeable through an adapter interface. The README lists browser storage, SQLite and memory options, alongside several JavaScript environments. That's useful architectural flexibility, but each combination remains something to verify. A database that runs in a Node sandbox hasn't thereby demonstrated its behavior in a mobile webview.

Choose RxDB when those subscriptions and a local copy of application data solve an actual requirement. For a page that only fetches a server response and displays it, I'd need a specific reason to add a local database and replication layer.

What happened when we ran it

In our October 2, 2026 sandbox run at commit d154ca8, installation succeeded in 307 seconds, recording 1,726 dependencies and 1,177 MB on disk. The build succeeded in 19 seconds. These are repository setup measurements, not the download size of an app that uses RxDB.

The test step exited 1 after 103 seconds. Mocha reported 1,477 passed and zero failed, then npm reported Missing script: "test:browser". The useful distinction is that the reported Mocha cases passed while the overall command failed. The log tail doesn't explain why that script was requested, and it doesn't establish a browser-test result.

The configuration recorded 3 CPUs, 8 GB of RAM and image lab-node:22. Actual runtime and operating-system versions require the raw toolchain logs. The checkout contained 1,586 files, approximately 140,131 source lines and 20.5 MB. The scan found nine CI workflow files and a tests directory, with no Dockerfile.

The recorded npm audit found zero known vulnerabilities across its listed severity levels. That result is limited to the recorded audit; it doesn't certify replication security. No query-speed benchmark, storage comparison or application sync workload accompanies this record.

Your backend must tolerate repeated sync writes

The replication documentation says failed remote transmissions are retried, including cases where the remote write succeeded but its response failed. The backend must handle duplicate transmissions. That's a concrete requirement to check against your existing API before assuming that connecting RxDB will be a small frontend task.

The same documentation warns against blocking application startup on initial synchronization: an offline device may never reach that state. For an offline editing tool, I'd keep local access available and make sync status visible. That is an integration recommendation based on the documented behavior, not a user-interface pattern exercised in our sandbox.

RxDB is worth evaluating if you can own those backend decisions. Walk away if your API cannot support the replication contract and you have no authority to change it. The advertised ability to retain existing infrastructure still requires compatible behavior from that infrastructure.

Some storage choices require a commercial license

The premium page separates the open-source core from commercial plugins. Pro lists OPFS, IndexedDB, SQLite and filesystem storage, plus WebCrypto encryption and full-text search. The free offering lists Dexie, Memory and LokiJS storage and advertises up to 13 open collections in parallel.

That makes adapter selection a purchasing decision as well as a technical one. A team requiring the named Pro plugins under an exclusively open-source licensing policy should choose another route. Free storage isn't automatically unsuitable for production, and our run offers no speed comparison between the tiers. Check the license of the exact adapter you intend to ship.

Dexie and PouchDB answer narrower starting questions

Dexie.js is an IndexedDB wrapper. I'd evaluate it first when browser persistence is the immediate job and an extra storage abstraction has no clear benefit. Its README also documents Dexie Cloud for synchronization, authentication and collaboration, so comparing these projects requires selecting their actual deployment options.

Apache PouchDB is a browser-oriented JavaScript database inspired by CouchDB and intended for applications that work offline and online. It's another relevant candidate for an offline application. We haven't compared its installation or replication behavior with RxDB, and this evidence doesn't support declaring either the faster choice.

Documentation is rated; deployment effort remains unassessed

The documentation earns 4/5 for explaining storage choices, replication requirements and commercial boundaries. Here, 1 means essential instructions are absent, 3 means the main path is explained with decision gaps, and 5 means the relevant paths have also been independently checked. Intermediate scores reflect evidence between those anchors. We haven't executed all documented paths.

GitHub records a November 8, 2026 push and dependency PR updates that day. Those signals show ongoing work without measuring support responsiveness.

Setup ease, community support and production maturity remain unassessed. A successful source build doesn't settle application setup, support responsiveness or data durability. Before choosing RxDB, use your intended adapter to save a local edit offline, reconnect it to the intended backend, and check the resulting data. Include a repeated transmission in that trial: the replication documentation explicitly requires your server to tolerate it.

Alternatives

ProjectWhat it isPick it when
Dexie.jsAn IndexedDB wrapper with a separate Dexie Cloud option for sync.Pick Dexie.js when browser persistence is your starting requirement and its IndexedDB interface fits your application.
Apache PouchDBA browser-oriented JavaScript database inspired by CouchDB for offline and online applications.Pick PouchDB for evaluation when you want another browser database designed around offline use; compare the actual sync path before choosing.

Sources

  1. RxDB README
  2. RxDB replication
  3. RxDB commercial plugins
  4. Dexie.js README
  5. Apache PouchDB README
  6. RxDB issue and PR activity

More data reviews