Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Introducing Ponder 0.9 We built a SQL-based alternative to GraphQL, with live query support and a TanStack Query integration. Apps & websites that use Ponder for indexing are about to feel much faster →
21 replies
69 recasts
329 reactions

Kevin pfp
Kevin
@typedarray.eth
The GraphQL API works, but tends to fall short as new requirements appear. 1) Flexibility → no complex filters, aggregations, or joins 2) Dev ex → requires additional tooling & codegen 3) Realtime data → gql subscriptions suck, must poll
1 reply
0 recast
15 reactions

Kevin pfp
Kevin
@typedarray.eth
This release introduces a new option – @­ponder/client, a SQL library for querying indexed data over HTTP. Write SQL queries directly from your frontend (or any JS code) using Drizzle with full-stack type inference.
2 replies
1 recast
14 reactions

Greg pfp
Greg
@greg
excited to try this — i wonder if you guys have explored caching at the http client level so it doesnt have to make slower db queries every time ?
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
We have not! Should be a low-hanging fruit improvement. The live query invalidation logic is also a bit naive right now, but clear path to making it much more efficient.
0 reply
0 recast
1 reaction