frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

TanStack Start Now Support React Server Components

https://tanstack.com/blog/react-server-components
33•polywock•1h ago

Comments

BoorishBears•1h ago
It's so beautiful I nearly cried

If NextJS isn't nearly entirely replaced by TanStack Start universally in the next 2-3 years we'll know VC money has landed the final blow in 'VC vs Js Ecosystem'

tannerlinsley•1h ago
Thank you!
supernes•1h ago
Fingers crossed for Preact support in Router next.
tannerlinsley•1h ago
Coming soon!
hliyan•1h ago
Can we please go back to template-based server rendering (e.g. JSP, PHP, ASP, Handlebars/Mustache) and use JS for user interactivity only? Tired of seeing this cycle play out with a new framework every 5-6 years.
methyl•1h ago
What’s stopping you from using those?
com2kid•1h ago
There are benefits to having the same type system throughout a code base. Also Typescript is a really nice language.

The other issue is, many websites are basically apps. The HTML is a byproduct, it isn't the main event. The template based systems are fine if you have mostly plain HTML with some interactivity sprinkled in, but for people who are building complex web apps, there is typically a tiny bit of HTML and a lot of logic.

The old template based systems fall to pieces for really complicated sites.

In regards to language, if you are going to pick a JITed or interpreted language, may as well pick one that has had a lot of effort put into making it fast, and the JS runtimes are really optimized by now. Java is faster, but Typescript is a much better language (and more type safe!) than Java.

gherkinnn•1h ago
JSX is easily the most productive templating language out there, I fail to see your point.
mepkn•56m ago
I am not a fan of React, but they killed it with JSX, absolutely beautiful
curtisblaine•1h ago
I have good news: all that you mention is still available and ready for you to use! It has not been deprecated in any form and as far as I know it has not been made illegal.

If, instead, you wanted to say "can everyone please use the things I like?", I'm sorry but that's not how it works. You don't get to tell people what they should do just because you're "tired".

mepkn•57m ago
I was on the same boat, coming from Django, but having used JSX, I absolutely love it, to the point that I try to use JSX in Vue and Django
ssiddharth•1h ago
I've been a big fan of TanStack start and have a few small apps (<10k users) in production running on TSS.

The DX is smooth, the defaults are sane, and things generally makes sense if that makes sense. There are plenty of skills available so Claude Code and Codex know how to work with it too.

If you're maybe finding Next a bit bloated these days, I'd recommend giving this a try. Plus Tanner, the creator, responds to almost every mention on Twitter so it's easy to get eyeballs on issues that you might face. :)

jvidalv•32m ago
I have switched from the bloated mess of Nextjs to Vite+TSS and never looked back.
tannerlinsley•8m ago
Thanks guys!
nfw2•1h ago
I still don't get why RSC is better. This post takes things for granted that don't seem obvious to me. Why would I want heavy rendering tasks to all be done on my wimpy aws box instead of the clients macbooks and iphones?

Shipping moment for dates is a pain sure but that can be chunked and cached too? It's hard to imagine the benefit of reducing bundle by X kbs could really be worth doing a roundtrip to server whenever I need format a date in the UI.

RSC seems like something only library maintainers like, although I appreciate tanstack not forcing them down my throat like next I guess.

danielhep•1h ago
Without RSC you have to wait for the user to download the application bundle before the request for content can even be sent to the server. So that means that the db queries and stuff are not even initiated until the client has the bundle and runs it, vs with RSC that stuff is all launched the moment the first request comes in from the user.
nfw2•54m ago
That doesn't seem to be how this implementation of RSC is intended to work. Here, client code triggers the RSC fetch, which is treated as any other sort of data fetch. Presumably, it still waits for client code to load to do that.

Also SSR, even in React, existed well before RSCs did, and that seems to be really what you are talking about.

tannerlinsley•8m ago
Correct. People need to stop conflating SSR with RSC. Well said.
gherkinnn•56m ago
The article lists the significant performance gains. Why render on wimpy phones over bad network when a cheap aws box can do it for you?

That aside, Next.js and the recent related vulnerabilities made me weary of RSC and I struggle to see the benefit of RSCs over the previous server side rendered and hydrated model. Chances are TanStack will do a better job than Vercel and yet the bumpy ride of the last few years tarnished the whole idea.

nfw2•50m ago
1. Rendered content, if there is enough of it, will be more content to send across wire than a cached bundle.

2. Cached bundles are cached. Network doesnt matter when its cached

3. Even bottom of the barrel motorolas are not wimpy nowadays

4. The obvious reasons why I dont want my aws box to do rendering is because it will need to everyone's rendering, and how big "everyone" is in not constant. It's another moving part in a complex system that can break. Also because I have to pay for the box.

5. Fast networks are becoming more and more ubiquitous

6. The performance gains are for a static site, which won't necessarily be representative of typical saas. How do you measure the risk and cost of my site breaking because my date rendering server got overloaded?

troupo•8m ago
> Even bottom of the barrel motorolas are not wimpy nowadays

They are: https://infrequently.org/2025/11/performance-inequality-gap-...

That said, RSCs and the rest of the "let's render a static site but let's also send a multimegabyte bundle for 'hydration'" is still wrong

karimf•1h ago
This is an interesting approach.

> How does this compare to Next.js App Router?

> Next.js App Router is server-first: your component tree lives on the server by default, and you opt into client interactivity with 'use client'.

> TanStack Start is isomorphic-first: your tree lives wherever makes sense. At the base level, RSC output can be fetched, cached, and rendered where it makes sense instead of owning the whole tree. When you want to go further, Composite Components let the client assemble the final tree instead of just accepting a server-owned one.

The sudden server-first change on Next.js App Router definitely trips some people, especially since React started as client-only library.

chrysoprace•1h ago
Excited to try it out. I'm perhaps less excited about having to wrap RSC's in special functions, but given the Query example I suppose it makes sense. I'll reserve judgement until I've properly tried it out.

How does this work with Suspense (without Query) and the 'use' hook from React?

tannerlinsley•6m ago
It works, but once again, you will be left without a stable native caching mechanism in React unless you put the stream into state. Use Query, or Router, or something.
noodletheworld•48m ago
> We intentionally do not support 'use server' actions, both because of existing attack vectors and because they can create highly implicit network boundaries

Mmm. Very nice.

Explicitly avoiding turning react into “webforms” and focusing on the actual point of RSC seems like the path RSC should have had from the beginning.

Magical RPC so you could “use server” and not bother to write an API properly was never the point of RSC, and the CVEs showed why it was a bad idea.

DaVinci Resolve releases Photo Editor

https://www.blackmagicdesign.com/products/davinciresolve/photo
398•thebiblelover7•5h ago•95 comments

A new spam policy for "back button hijacking"

https://developers.google.com/search/blog/2026/04/back-button-hijacking
240•zdw•4h ago•126 comments

Can Claude Fly a Plane?

https://so.long.thanks.fish/can-claude-fly-a-plane/
38•casi•55m ago•25 comments

Someone bought 30 WordPress plugins and planted a backdoor in all of them

https://anchor.host/someone-bought-30-wordpress-plugins-and-planted-a-backdoor-in-all-of-them/
881•speckx•13h ago•247 comments

Sometimes powerful people just do dumb shit

https://www.joanwestenberg.com/sometimes-powerful-people-just-do-dumb-shit/
156•zdw•4h ago•69 comments

GitHub Stacked PRs

https://github.github.com/gh-stack/
655•ezekg•10h ago•352 comments

Distributed DuckDB Instance

https://github.com/citguru/openduck
23•citguru•56m ago•4 comments

Roblox devs now need a subscription to share their games freely

https://devforum.roblox.com/t/new-publishing-requirements-evaluation-process-for-games/4573166
25•hallole•1h ago•4 comments

TanStack Start Now Support React Server Components

https://tanstack.com/blog/react-server-components
33•polywock•1h ago•25 comments

Lean proved this program correct; then I found a bug

https://kirancodes.me/posts/log-who-watches-the-watchers.html
219•bumbledraven•7h ago•111 comments

WiiFin – Jellyfin Client for Nintendo Wii

https://github.com/fabienmillet/WiiFin
135•throwawayk7h•7h ago•61 comments

Multi-Agentic Software Development Is a Distributed Systems Problem

https://kirancodes.me/posts/log-distributed-llms.html
14•tie-in•1h ago•3 comments

Design and implementation of DuckDB internals

https://duckdb.org/library/design-and-implementation-of-duckdb-internals/
102•mpweiher•3d ago•8 comments

Nothing Ever Happens: Polymarket bot that always buys No on non-sports markets

https://github.com/sterlingcrispin/nothing-ever-happens
405•m-hodges•15h ago•222 comments

A soft robot has no problem moving with no motor and no gears

https://engineering.princeton.edu/news/2026/04/08/soft-robot-has-no-problem-moving-no-motor-and-n...
11•hhs•4d ago•0 comments

Anastasia (1997) live action reference material

https://lostmediawiki.com/Anastasia_(partially_found_live-action_reference_material_for_Don_Bluth...
16•hyperific•3d ago•3 comments

Rust Threads on the GPU

https://www.vectorware.com/blog/threads-on-gpu/
46•PaulHoule•4d ago•15 comments

The Shinkansen

https://www.worksinprogress.news/p/the-secret-behind-japans-railways
3•WillDaSilva•47m ago•0 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://nypost.com/2026/04/11/us-news/us-appeals-court-declares-158-year-old-home-distilling-ban-...
373•t-3•17h ago•251 comments

N-Day-Bench – Can LLMs find real vulnerabilities in real codebases?

https://ndaybench.winfunc.com
58•mufeedvh•9h ago•15 comments

Write less code, be more responsible

https://blog.orhun.dev/code-responsibly/
75•orhunp_•2d ago•43 comments

Make tmux pretty and usable (2024)

https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
359•speckx•16h ago•225 comments

How to make Firefox builds 17% faster

https://blog.farre.se/posts/2026/04/10/caching-webidl-codegen/
165•mbitsnbites•12h ago•32 comments

Math Is Still Catching Up to the Mysterious Genius of Srinivasa Ramanujan (2024)

https://www.quantamagazine.org/srinivasa-ramanujan-was-a-genius-math-is-still-catching-up-20241021/
52•paulpauper•2h ago•4 comments

A name is succession, legacy and celebration in Japan's Kabuki theater

https://apnews.com/article/kabuki-name-succession-japan-tradition-theater-d1e9621bc91385498314f36...
4•mooreds•3d ago•0 comments

Building a CLI for all of Cloudflare

https://blog.cloudflare.com/cf-cli-local-explorer/
294•soheilpro•15h ago•98 comments

UpDown: Efficient Manycore based on Many Threading & Scalable Memory Parallelism

https://people.cs.uchicago.edu/~aachien/lssg/research/10x10/ics26-single-chip-updown.pdf
8•matt_d•1h ago•0 comments

I shipped a transaction bug, so I built a linter

https://leonh.fr/posts/go-transaction-linter/
32•leonhfr•3d ago•4 comments

Android now stops you sharing your location in photos

https://shkspr.mobi/blog/2026/04/android-now-stops-you-sharing-your-location-in-photos/
350•edent•19h ago•295 comments

I just want simple S3

https://blog.feld.me/posts/2026/04/i-just-want-simple-s3/
153•g0xA52A2A•2d ago•82 comments