Lune

UIST2023Top-tier venue

Riffle: Reactive Relational State for Local-First Applications

Geoffrey Litt, Nicholas Schiefer, Johannes Schickling, Daniel Jackson

2023Year
6Citations

Abstract

The reactive paradigm for developing user interfaces promises both simplicity and scalability, but existing frameworks usually compromise one for the other. We present Riffle, a reactive state management system that achieves both simplicity and scalability by managing the entire state of a web application in a client-side persistent relational database. Data transformations over the application state are defined in a graph of reactive relational queries, providing developers with a simple spreadsheet-like reactivity model. Domain state and UI state are unified within the same system, and efficient incremental query maintenance ensures the UI remains responsive. We present a formative case study of using Riffle to build a music management application with complex data and stringent performance requirements.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 806ce638-7644-49fe-b4e1-e0c99fedd352

Builds on2

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines