Ally Sheedy's 'makeover' in The Breakfast Club with the text DLSS 5 OFF and DLSS 5 ON.
Posts by Dan Train
I heard there was a secret code,
that David knew to unlock god mode,
but you don't really care for cheating, do yah?
It goes like this, up up down down left right lef
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.
I learned that pnpm has a built-in patch command, if it helps. I use Fly.io to run containers, can recommend.
This is incredible
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"
Another great article Dan!
If you can’t handle me at my Dance Yourself Clean 0:00-3:05 you don’t deserve me at my Dance Yourself Clean 3:06-8:56
Excellent work by new NYT headline writer Werner Herzog
I lived in London during Brexit. And I always told Americans back home that, as bad as Trump 1.0 was, it wasn't nearly as existential as Brexit. Which felt like a near-permanent shift in how the country functioned. I used to say it was like watching a country commit suicide. Trump 2.0 is like that.
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...
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.
Awesome, thank you!!
Amazing, thank you!!
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?
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?
Link? Also how did someone else get kittydothedishes.tumblr.com isn't that cybersquatting lol?
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...
I believe that loaders in TanStack Router run on both server and client, whereas Remix/ReactRouter has separate server and client loaders
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
Ah amazing, this would be far better! I'll keep on eye on the progress, thanks!
For some reason Discord is demanding I verify my phone number but the SMS message with the code isn't coming through, maddening!
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...
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?
// Code block with the following code: export const Route = createFileRoute("/")({ component: Home, loader: async () => ({ countPromise: defer(getCount()) }), }); function Home() { const { countPromise } = Route.useLoaderData(); return ( <p> Count:{" "} <Await promise={countPromise} fallback={"(Loading...)"}> {(count) => <span>{count}</span>} </Await> </p> ); }
Ok I've realised it's done like this today, which works great. But is the React 19 `use()` API the future?
// Code block with the following code: export const Route = createFileRoute("/")({ component: Home, loader: async () => ({ countPromise: getCount() }), }); function Home() { const { countPromise } = Route.useLoaderData(); return ( <p> Count:{" "} <Suspense fallback={"(Loading...)"}> <Count countPromise={countPromise} /> </Suspense> </p> ); } function Count({ countPromise }: { countPromise: Promise<number> }) { const count = use(countPromise); return <span>{count}</span>; }
@tanstack.com TanStack Start is looking so awesome! Curious about streaming deferred data, could something like this work in future?
Hi everyone.
The Onion, with the help of the Sandy Hook families, has purchased InfoWars.
We are planning on making it a very funny, very stupid website.
We have retained the services of some Onion and Clickhole Hall of Famers to pull this off.
I can't wait to show you what we have cooked up.
I keep getting confused by the "static" terminology. To me "static" means rendered at build-time, as in "static site generator". I think maybe I'd like a "use static" directive where fetches are always made from the CI server, and for "use cache" they're always made from the app server (and cached)
The dream of the 2010s is alive in Bluesky?