mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
11 lines
512 B
Markdown
11 lines
512 B
Markdown
goal:
|
|
|
|
to write a minimal matrix client that should you all your rooms, allows you to pick one and read and write messages in it.
|
|
|
|
on the technical side, the goal is to go low-memory, and test the performance of storing every event individually in indexeddb.
|
|
|
|
nice properties of this approach:
|
|
|
|
easy to delete oldest events when db becomes certain size/full (do we need new pagination token after deleting oldest? how to do that)
|
|
|
|
sync is persisted in one transaction, so you always have state at some sync_token |