Dan Train
dantrain.com
Dan Train
@dantrain.com
Hi Jen, when my web app is added to home screen the top bar now remains white in dark mode. I used to control this with `theme-color` which still worked until 26.1.
November 8, 2025 at 1:57 PM
I learned that pnpm has a built-in patch command, if it helps. I use Fly.io to run containers, can recommend.
October 28, 2025 at 8:51 AM
I feel like today if you want to take the RSC approach you have Next.js, but if you like the GraphQL Fragments approach it's not so easy. I made myself a remix-relay package and @phry.dev ‬is making Apollo integrations but I'm surprised it's not more commonplace since it indeed "cracks the nut"
May 30, 2025 at 4:51 PM
Another great article Dan!
May 30, 2025 at 4:51 PM
Dan I copied your Movie App for my React Router + Relay integration library example. That JSConf Iceland talk was so exciting and led to all this modern framework world! github.com/dantrain/rem...
GitHub - dantrain/remix-relay: Integration between the React Router v7 framework and the Relay GraphQL client
Integration between the React Router v7 framework and the Relay GraphQL client - dantrain/remix-relay
github.com
February 15, 2025 at 11:22 AM
The docs say "If used alongside Partial Prerendering, segments that have 'use cache' will be prerendered as part of the static HTML shell" but if the default revalidation period is 15 minutes, what's the point of prerendering? I'd prefer a separate 'use static' directive.
January 4, 2025 at 4:02 PM
Awesome, thank you!!
December 19, 2024 at 7:54 PM
Amazing, thank you!!
December 19, 2024 at 7:53 PM
Hey @tannerlinsley.com just saw the discussion of RR vs TSR loaders. I really like the TanStack Start approach but I still have this question, could a Server Function return a stream of chunks?
December 19, 2024 at 7:35 PM
Awesome news!

Took me a minute to find how to type a ref prop when removing forwardRef. First I tried RefObject<> but it didn't work with a callback, then I found the Ref<> type. Maybe worth adding to the guide?
December 8, 2024 at 4:20 PM
Link? Also how did someone else get kittydothedishes.tumblr.com isn't that cybersquatting lol?
December 7, 2024 at 10:33 AM
So I have code that should only run on the server that potentially returns both an initial response and a ReadableStream of subsequent chunks. I need to get both back to the loader somehow. It's this thing the-guild.dev/graphql/tool...
@graphql-tools/executor (GraphQL-Tools)
GraphQL-Tools Documentation
the-guild.dev
December 2, 2024 at 4:50 PM
I believe that loaders in TanStack Router run on both server and client, whereas Remix/ReactRouter has separate server and client loaders
December 2, 2024 at 10:03 AM
This is where I'm stuck, can I return a ReadableStream from a TanStack Start Server Function? I don't think I can execute the request directly in the loader since it's isomorphic
December 2, 2024 at 9:35 AM
Ah amazing, this would be far better! I'll keep on eye on the progress, thanks!
December 2, 2024 at 9:33 AM
For some reason Discord is demanding I verify my phone number but the SMS message with the code isn't coming through, maddening!
December 1, 2024 at 10:17 PM
Brilliant I will check it out thank you! Here's my attempt with Relay and Remix if you're interested (just in middle of the React Router v7 migration today) github.com/dantrain/rem...
GitHub - dantrain/remix-relay
Contribute to dantrain/remix-relay development by creating an account on GitHub.
github.com
December 1, 2024 at 9:57 PM
I'm trying to put Relay together with Tanstack Start including @defer, but I have a problem. Executing the request is server code so I need a Server Function, but I can't use the `defer` function there afaik @tannerlinsley.com any ideas?
December 1, 2024 at 9:45 PM
Ok I've realised it's done like this today, which works great. But is the React 19 `use()` API the future?
November 15, 2024 at 5:48 PM