matrix-org / matrix-org/matrix-js-sdk

Support for Realm as data store

Open
#1,205 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

Could we possibly get official support for realm-js as a matrix-js-sdk store? A RealmStore would make it much easier to build Matrix apps with caching using React Native.

I've been looking at converting the LocalIndexedDBStoreBackend to work with Realm, but my complete lack of experience with both IndexedDB and the matrix-js-sdk isn't really getting me anywhere. Perhaps someone with more experience can easily write a wrapper?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading LocalIndexedDBStoreBackend and the existing matrix-js-sdk store interfaces, then review how realm-js is intended to work with React Native. Done means the project has a supported RealmStore that provides the requested caching behavior, with its scope and validation documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
database, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.