Relational Reactive Programming: miniKanren for the Web
summary
Implements a micro Todo MVC using a JavaScript miniKanren runtime and a new reactive unification operator that records provenance in the substitution and applies all updates simultaneously at the next timestep. Renders lists by using memro non-determinism to produce answers and ties each answer to DOM nodes via a reified search tree so updates can be surgically diffed and applied. Prototype works for the demo but codebase is rough and experimental.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:05Todo MVC in miniKanren
- 3:31Model to view sync
- 8:46Virtual DOM approach
- 12:20View to model updates
- 16:36Update patterns compared
- 19:25Data provenance tracking
- 22:13Conclusion
related talks
14mA Relational Interpreter For Synthesizing JavaScript
23mReactive Programming Made Simple
36mFunctional-Reactive User Interfaces in the modern Web Platform
01h 00mReactive Programming, State Management, and Redux for the Modern Front End Dev
33mResumable JavaScript from Scratch
38mThe challenges and benefits of a functional reactive frontend
51mReactive Programming with JavaScript
36mFunctional reactive UI with JavaScript
