Lune

UIST2023Top-tier venue

Riffle: Reactive Relational State for Local-First Applications

Geoffrey Litt, Nicholas Schiefer, Johannes Schickling, Daniel Jackson

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Key Agreement for Decentralized Secure Group Messaging with Strong Security GuaranteesMatthew Weidner, Martin Kleppmann, Daniel Hugenroth, Alastair R. BeresfordCCS 2021 · 28 citations
  2. DIEL: Interactive Visualization Beyond the Here and NowYifan Wu, Remco Chang, Joseph M. Hellerstein, Arvind Satyanarayan et al.IEEE VIS 2021 · 9 citations

Related papers

  1. Remediating Superfluous Re-Rendering in React ApplicationsFarideh Khalili, Satyajit Gokhale, Alexi Turcotte, Dale Xu et al.ICSE 2026
  2. Rigel: Transforming Tabular Data by Declarative MappingRan Chen, Di Weng, Yanwei Huang, Xinhuan Shu et al.IEEE VIS 2022 · 21 citations
  3. TEGRA: Efficient Ad-Hoc Analytics on Evolving GraphsAnand Padmanabha Iyer, Qifan Pu, Kishan Patel, Joseph E. Gonzalez et al.NSDI 2021
  4. MIDAS: Towards Efficient and Effective Maintenance of Canned Patterns in Visual Graph Query InterfacesKai Huang, Huey-Eng Chua, Sourav S. Bhowmick, Byron Choi et al.SIGMOD 2021 · 10 citations
  5. HipHop.js: (A)Synchronous reactive web programmingGérard Berry, Manuel SerranoPLDI 2020 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines