Riffle: Reactive Relational State for Local-First Applications

要旨

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.

著者
Geoffrey Litt
Massachusetts Institute of Technology, Cambridge, Massachusetts, United States
Nicholas Schiefer
Anthropic, San Francisco, California, United States
Johannes Schickling
N/A, Berlin, Germany
Daniel Jackson
MIT, Cambridge, Massachusetts, United States
論文URL

https://doi.org/10.1145/3586183.3606801

動画

会議: UIST 2023

ACM Symposium on User Interface Software and Technology

セッション: Code Craftsmanship: Programming Support Tools

Gold Room
7 件の発表
2023-11-01 01:00:00
2023-11-01 02:20:00