Content
@
0 reply
0 recast
0 reaction
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
335 reactions
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
@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
Kevin
@typedarray.eth
The client library also supports live queries, powered by HTTP server-sent events, which update whenever a new block gets indexed. For latency-sensitive apps, live queries are a *huge* improvement over polling the GraphQL API.
1 reply
0 recast
6 reactions
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