News for hackers. Stuff that matters.
Re:We moved Railway's frontend off Next.js. Builds went from... by SilverSlash on Wednesday April 08, 2026 @05:10AM (#47687437)
I hadn't heard of TanStack but a quick look at their website doesn't inspire confidence tbh. I mean, just take "TanStack Pacer".

It provides such things as:

```

import { Debouncer } from '@tanstack/pacer' // class

const debouncer = new Debouncer(fn, options)

debouncer.maybeExecute(args) // execute the debounced function

debouncer.cancel() // cancel the debounced function

debouncer.flush() // flush the debounced function

```

Why? Just why do you need to install some "framwork" for implement debouncing? Isn't this sort of absurdism the reason why the node ecosystem is so insecure and vulnerable in the first place? Just write a simple debouncer using vanilla js...

Re:We moved Railway's frontend off Next.js. Builds went from... by MajimasEyepatch on Wednesday April 08, 2026 @02:25PM (#47694245)
Obviously it's more than just debouncing. https://tanstack.com/pacer/latest/docs/overview
Re:We moved Railway's frontend off Next.js. Builds went from... by chrisweekly on Wednesday April 08, 2026 @10:35PM (#47698699)
That's putting it mildly!
Re:We moved Railway's frontend off Next.js. Builds went from... by tacker2000 on Wednesday April 08, 2026 @03:09PM (#47694828)
TanStack started out by providing a very good JS table library. Now they offer a Router, and some more libs. They are definitely an up and coming name in the JS space.
Re:We moved Railway's frontend off Next.js. Builds went from... by chrisweekly on Wednesday April 08, 2026 @04:59PM (#47696180)
That's... not quite right.

[EDIT] I typed "Router" when I meant "Query".

TanStack Query is the relatively newer name for React Query -- one of the most popular JS libraries of all time.

TanStack Start is a recent metaframework (and the one w/ the brightest future, IMO), but Tanner and team have profoundly significant bona fides. IOW, the dev team is far from being the "new kids on the block".

Re:We moved Railway's frontend off Next.js. Builds went from... by SahAssar on Wednesday April 08, 2026 @05:15PM (#47696380)
Do you have a source for TanStack Router being a newer name for React Router? Doesn't seem like it when looking at the sites for both projects.

Are you thinking of the whole Remix/ReactRouter thing?

Re:We moved Railway's frontend off Next.js. Builds went from... by chrisweekly on Wednesday April 08, 2026 @05:25PM (#47696483)
(facepalm)

Thank you, but no. I typed "Router" when I meant "Query". TanStack Query is the newer name for the library FKA react-query.

TanStack Router is an alternative to React Router.

TanStack Start is an alternative to Remix/react-router-7's framework mode.

The naming history and evolution of react-router and its relationship to Remix is a bit convoluted, but an unrelated tangent to the point I was making.

Re:We moved Railway's frontend off Next.js. Builds went from... by tacker2000 on Wednesday April 08, 2026 @05:17PM (#47696399)
That's... not quite right :)

React Router, which belongs to Remix, which was acquired by Shopify, is here: https://github.com/remix-run/react-router

Tanstack Router is an entirely new router.

Re:We moved Railway's frontend off Next.js. Builds went from... by chrisweekly on Wednesday April 08, 2026 @05:26PM (#47696491)
Thanks yes I know, I typed "Router" meaning "Query", noted in a peer comment. sigh.
Re:We moved Railway's frontend off Next.js. Builds went from... by pjmlp on Thursday April 09, 2026 @02:43AM (#47700091)
Nah, they are the next toy for the magpie developers, now that Next.js is no longer cool.
Re:We moved Railway's frontend off Next.js. Builds went from... by chrisweekly on Wednesday April 08, 2026 @05:16PM (#47696390)
Not to feed the trolls, but you responded to a comment about TanStack Start (a full-stack metaframework) by denigrating @tanstack/pacer -- a separate, niche utility published by the same team.

You're entitled to your opinions, but I'm happy to defend the rationale of leveraging battle-hardened, rigorously-tested, open-source, type-safe libraries instead of DIY cowboy vanilla js spaghetti.