Paginating over large datasets is tricky when the data is changing. Naive approaches result in missing or duplicated data. The trick is to rewrite limit queries (fetch 5 items) into range queries (fetch between cursors). Convex handles this automatically!
Actions are Convex’s first foray into code that has side-effects or isn’t oriented around data access.
The serverless movement has eliminated many problems but has left application developers with the hardest one of all: managing distributed state.
We’re very excited to announce Convex’s $26M series A [https://www.forbes.com/sites/kenrickcai/2022/04/27/convex-series-a-26-million-developers-dump-databases/] financing led by Andreessen
Moving assertions into application code and randomizing test input helps bring more value from fewer tests.