Your component's query IS the API call. No custom endpoints. No GraphQL resolvers. Just write your query and DB figures out exactly what to fetch.
Details 🧵👇
Your component's query IS the API call. No custom endpoints. No GraphQL resolvers. Just write your query and DB figures out exactly what to fetch.
Details 🧵👇
The @tanstack/powersync-db-collection brings offline persistence, realtime multi-tab + backend sync, and automatic conflict resolution to TanStack DB.
And you get TanStack DB’s super reactive client-store and query engine!
The @tanstack/powersync-db-collection brings offline persistence, realtime multi-tab + backend sync, and automatic conflict resolution to TanStack DB.
And you get TanStack DB’s super reactive client-store and query engine!
TanStack DB brings the same philosophy to data: view = query(collections)
You describe what data you need. DB handles fetching, caching, and updating—even across massive datasets.
TanStack DB brings the same philosophy to data: view = query(collections)
You describe what data you need. DB handles fetching, caching, and updating—even across massive datasets.
Arnoud de Vries @arnoud.dev joins The Angular Plus Show to share how data becomes a first-class dependency.
🎧👇
🟢 bit.ly/3XvVJr7
🍎https://bit.ly/4ozoBKZ
Arnoud de Vries @arnoud.dev joins The Angular Plus Show to share how data becomes a first-class dependency.
🎧👇
🟢 bit.ly/3XvVJr7
🍎https://bit.ly/4ozoBKZ
So I tried to profile this, and apparently setTimeout calls are much (10×) slower if you do them deep within a call stack (eg React’s recursivelyTraversePassiveMountEffects)? bsky.app/profile/did:...
gist.github.com/iamakulov/85...
So I tried to profile this, and apparently setTimeout calls are much (10×) slower if you do them deep within a call stack (eg React’s recursivelyTraversePassiveMountEffects)? bsky.app/profile/did:...
Some love useState, others swear by Zustand or TanStack Query.
But when things scale… your stack tells a story 👀
What’s your favorite way to manage state right now?
useState
Zustand
TanStack Query
Redux Toolkit
#React #Zustand #Nextjs
J’ai le plaisir de vous annoncer que je serai au DevFest Nantes avec @cruuzazul.dev dans une semaine en salle Jules Vernes à 11h10 pour vous parler d’un outil que j'aime particulièrement : TanStack Query ! 📣
Nous allons vous presenter ce qui est pour nous, enfin, une bonne gestion d'état 💼
J’ai le plaisir de vous annoncer que je serai au DevFest Nantes avec @cruuzazul.dev dans une semaine en salle Jules Vernes à 11h10 pour vous parler d’un outil que j'aime particulièrement : TanStack Query ! 📣
Nous allons vous presenter ce qui est pour nous, enfin, une bonne gestion d'état 💼
It enforces queries are not inline in the useQuery hooks in favor of using queryOptions.
Inspired by @tkdodo.eu post about abstracting the queries with queryOptions
#tanstack-query #react-query
It enforces queries are not inline in the useQuery hooks in favor of using queryOptions.
Inspired by @tkdodo.eu post about abstracting the queries with queryOptions
#tanstack-query #react-query
It's the most impressive web dev stack I've ever seen
Everything you need, packaged into one cohesive, composable set of tools—like react-query integration
Plus superb static typing
It's genuinely next level
It's the most impressive web dev stack I've ever seen
Everything you need, packaged into one cohesive, composable set of tools—like react-query integration
Plus superb static typing
It's genuinely next level
ig next its time to set up tanstack query
ig next its time to set up tanstack query
[入門] Next.js+Hono+Bunのモノレポ構成で型安全なWebアプリ開発をする
この記事は、Next.js、Hono、Bunを使ったWebアプリ開発の入門ガイドです。
モノレポ構成、HonoのRPC機能による型安全なフロントエンド・バックエンド連携、Zodによるバリデーション、Drizzle ORMによるDB操作、TanStack Queryでのデータフェッチ、Cloudflare Pages/Workersへのデプロイを解説します。
最終的に簡単なTODOアプリを作成できることを目指し、ハンズオン形式で実践的な学習を促します。
[入門] Next.js+Hono+Bunのモノレポ構成で型安全なWebアプリ開発をする
この記事は、Next.js、Hono、Bunを使ったWebアプリ開発の入門ガイドです。
モノレポ構成、HonoのRPC機能による型安全なフロントエンド・バックエンド連携、Zodによるバリデーション、Drizzle ORMによるDB操作、TanStack Queryでのデータフェッチ、Cloudflare Pages/Workersへのデプロイを解説します。
最終的に簡単なTODOアプリを作成できることを目指し、ハンズオン形式で実践的な学習を促します。
SvelteKit makes full-stack dev a breeze.
And Tailwind + DaisyUI = awesome UIs with minimal effort.
tRPC and TanStack Query are real time-savers.
SvelteKit makes full-stack dev a breeze.
And Tailwind + DaisyUI = awesome UIs with minimal effort.
tRPC and TanStack Query are real time-savers.
It's been a fair while since I've worked in React world (cheers, Astro) and I'm wondering if the Tanstack Query + Zustand combo that I last used is still a sensible option in 2025
It's been a fair while since I've worked in React world (cheers, Astro) and I'm wondering if the Tanstack Query + Zustand combo that I last used is still a sensible option in 2025
React
React/Tanstack Query
React
React/Tanstack Query
#TanStack #JavaScript #WebDev #OpenSource
#TanStack #JavaScript #WebDev #OpenSource
youtu.be/kgw83CziJgM
youtu.be/kgw83CziJgM
But replacing it with tanstack query will give you caching / reuse, retries, loading statuses, timeouts, etc, which is very handy.
But replacing it with tanstack query will give you caching / reuse, retries, loading statuses, timeouts, etc, which is very handy.