TanStack Query VS create-t3-app

Compare TanStack Query vs create-t3-app and see what are their differences.

TanStack Query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. (by TanStack)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
TanStack Query create-t3-app
56 183
39,775 23,398
1.0% 2.4%
9.8 9.2
1 day ago 7 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

TanStack Query

Posts with mentions or reviews of TanStack Query. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Best Next.js Libraries and Tools in 2024
    10 projects | dev.to | 10 Apr 2024
  • This is your sign(al) to try TanStack Query & Angular
    2 projects | dev.to | 5 Mar 2024
    To ensure that we get the best TanStack Query experience possible we are also encouraged to share feedback and participate in the discussion on GitHub, which you can check out here!
  • React Query Mutations Offline React-Native
    1 project | dev.to | 28 Feb 2024
    I trust you found this information beneficial. For further details, please refer to the conversation on this GitHub issue here
  • Nx - Highlights of 2023
    14 projects | dev.to | 28 Dec 2023
    Tanstack - Tanstack has evolved to an entire ecosystem consisting of the famous Tanstack (or React) Query, Tanstack Table, now also Tanstack Router and Tanstack Form. It started with Tanstack Query, which adopted Nx and Nx Cloud. Zack talked about this collab with Dominik, and we also had Dominik on our Nx live stream. Now, all the above-mentioned Tanstack libs have adopted Nx, and there's more coming.
  • SQLSync – Stop Building Databases
    7 projects | news.ycombinator.com | 1 Dec 2023
    "I’m building SQLSync because I want to make client-side applications easier to build without us having to reinvent the wheel each time."

    Kinda ironic no?

    Anyway, since the article is also about React, I can't recommend enough React Query [1] if you don't want to worry about caching data to reduce calls to the database and managing/refreshing stale data. It simplified so much my job.

    [1] https://tanstack.com/query

  • React Basics: Essential Knowledge for Every React Developer
    4 projects | dev.to | 12 Nov 2023
    Combine state with data fetching with react-query This should be the second choice since you have to fetch data anyway Skip this option if you are using trpc or prefer not to use react-query
  • Tanstack's React Query Kicked `onSuccess`, `onError`, and `onSettled` Out of `useQuery`: Now What?!
    1 project | dev.to | 25 Oct 2023
    onSuccess, onError and onSettled have been removed from Queries. They haven't been touched for Mutations. Please see this RFC for motivations behind this change and what to do instead.
  • TanStack Query(a.k.a. React Query) v5 announced
    3 projects | news.ycombinator.com | 19 Oct 2023
    so cacheTime was really confusing because it seemed like "this is the amount time we cache data for", but that's not what it is. So a rename had to happen. We had some discussion on the public roadmap (https://github.com/TanStack/query/discussions/4252) about what it's gonna be. I'm usually against abbreviations, simply because there's always someone who doesn't understand what it means. But all other suggestions like inactiveCacheTime also had room for interpretation. gc is an abbreviation that is known well enough (think git gc), and it's also not an option that you will customize on a daily basis (usually once, globally).
  • Explicit Design, Part 6. Cross-Cutting Concerns and Extendable Infrastructure
    7 projects | dev.to | 21 Aug 2023
    By the way, I think that useSWR and React Query take on too much. They go too deep into the multiple application layers, making themselves no longer “non-opinionated,” and in some cases, using them becomes inconvenient. There are libraries that implement the SWR standard and do not use hooks, but there are not many of them.
  • 13 Must Know Libraries for a React Developer
    12 projects | dev.to | 15 Aug 2023
    TanStack Query is an open source data fetching library in React developed by Tanner Linsley. It has more than 1.7 million weekly downloads on NPM and more than 35k stars on GitHub as of August 2023.

create-t3-app

Posts with mentions or reviews of create-t3-app. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
    4 projects | dev.to | 15 Apr 2024
    import { unstable_noStore as noStore } from "next/cache"; import Link from "next/link"; import { CreatePost } from "~/app/_components/create-post"; import { getServerAuthSession } from "~/server/auth"; import { api } from "~/trpc/server"; export default async function Home() { noStore(); const hello = await api.post.hello.query({ text: "from tRPC" }); const session = await getServerAuthSession(); return (

    Create T3span> App h1>

    First Steps →h3>
    Just the basics - Everything you need to know to set up your database and authentication. div> Link>

    Documentation →h3>
    Learn more about Create T3 App, the libraries it uses, and how to deploy it.div> Link> div>

    {hello ? hello.greeting : "Loading tRPC query..."}p>

    {session && Logged in as {session.user?.email}span>} p> {session ? "Sign out" : "Sign in"} Link> div> div> div> main> ); } async function CrudShowcase() { const session = await getServerAuthSession(); if (!session?.user) return null; const latestPost = await api.post.getLatest.query(); return (

    {latestPost ? (

    Your most recent post: {latestPost.name}p> ) : (

    You have no posts yet.p> )} div> ); }

  • Interview with Senior JavaScript Developer 2024 [video]
    3 projects | news.ycombinator.com | 14 Apr 2024
    I thought he was making stuff up - "t3 stack vs t4 stack". But about 2 minutes in, I realized that I'd heard of a few things that he's talking about so I looked it up and they're real!

    I think it's possible everything he's saying is true, more or less. LOL

    t3: https://create.t3.gg

    t4: https://t4stack.com

  • Localized tRPC errors
    3 projects | dev.to | 16 Mar 2024
    We start with a project that was bootstrapped with create-t3-app. For internationalization we use next-intl and set it up as described in the getting started guide. With this initial project setup we can jump into implementing localized error messages.
  • Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
    5 projects | dev.to | 11 Mar 2024
    I used create-t3-app to scaffold the Next.js app, with TypeScript, Prisma, and "app router" enabled in the options. You can also use create-next-app for the job and install Prisma manually.
  • Leaving Everything Behind For Elixir [Theo – t3․gg] [video]
    1 project | news.ycombinator.com | 28 Feb 2024
    I agree that the quantity of publicly available code isn't the most reliable indicator of someone's seniority.

    My issue with this individual arises from the discrepancy between his public claims of significant expertise in the content he produces. He positions himself as a highly experienced developer, attracting a large following of junior developers who take his advice at face value.

    I am trying to collect data points supporting his claims of seniority. For instance, his website prominently features a statement that he is the creator of the T3 Stack. However, a review of the contributor statistics for the T3 Stack (https://github.com/t3-oss/create-t3-app/graphs/contributors)... minimal contributions from him, which raises questions about the validity of his claims.

  • Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?
    2 projects | news.ycombinator.com | 13 Feb 2024
    I would recommend - https://create.t3.gg/

    It uses the following, which as of late are pretty well know and common, so you can punch in your problems to stackoverflow, google, or chatgpt and get some pretty good answers.

    It uses:

    Nextjs (React), typescript, trpc (typescript rpc), auth, tailwind, and Prisma (ORM)

    Though of course these could go out of fashion tomorrow, but I don't think the essential idea behind these libs and frameworks are that wacky, unique or unordinary.

    Prisma ORM, is a little opinionated, and you could swap it out for Drizzle, which is basically typescript side sugared SQL.

    TRPC might be also be a little sticky because it is tied to typescript, this is the tradeoff for the buttery smooth coupling for the fullstack experience. I think there exists a typed-rest solution out there, but haven't used it.

    Personal anecdata, I used this stack for a little hobby project and it was FUN.

  • You don't need to pay for SaaS boilerplates - Open SaaS
    3 projects | dev.to | 30 Jan 2024
    Open SaaS was built with Typescript, and because it’s a full-stack app, type safety from the back-end to the front-end can be a real lifesaver. I mean, some opinionated stacks have gotten hugely popular on this basis.
  • Building a Local Development Environment: Running a Next.js Full-Stack App with PostgreSQL and Minio S3 Using Docker
    3 projects | dev.to | 6 Jan 2024
    Let's start by creating a Next.js application. We will use the T3 stack (TypeScript, TailwindCSS, and Prisma ORM) for this tutorial to skip installing and configuring all the dependencies which is out of the scope of this article. You can find more information about the T3 stack.
  • Ask HN: Who wants to be hired? (January 2024)
    21 projects | news.ycombinator.com | 2 Jan 2024
  • Show HN: Build your startup or side project faster with these SaaS templates
    8 projects | news.ycombinator.com | 1 Jan 2024
    https://github.com/t3-oss/create-t3-app

    You still would need to add Stripe but there are so many examples publicly available that it should be straight forward

What are some alternatives?

When comparing TanStack Query and create-t3-app you can also consider the following projects:

zustand - 🐻 Bear necessities for state management in React

vite - Next generation frontend tooling. It's fast!

axios - Promise based HTTP client for the browser and node.js

next-pwa-contentlayer - Next.js PWA App with `next-i18next` and `Contentlayer`.

apollo-client - :rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.

Refine - A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.

Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

supabase - The open source Firebase alternative.

SWR - React Hooks for Data Fetching

turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.

react-apollo

next-auth - Authentication for the Web.