Problem: SQL is an old, leaky abstraction
Problem: SQL is an old, leaky abstraction. It doesn’t play nice with typed languages.
Just learned about an alternative called Convex.
Idea: Strongly typed query API. When DB data changes, your component renders (via websockets). Caching is automatic.
Example:

More here in this excellent short talk.
https://youtu.be/dS9jtih4dI4?si=v4jHn_R8opMXZRui