Thatβs exactly the workaround, yes.
02.03.2026 02:55 β π 1 π 0 π¬ 0 π 0Thatβs exactly the workaround, yes.
02.03.2026 02:55 β π 1 π 0 π¬ 0 π 0
It's worse than that. Imagine useFoo has 12 generic arguments, the details of which you have no clue, and don't want to know.
They're usually just inferred from runtime arguments, so being able to get the type against actual code would be WAAAAY nicer.
bsky.app/profile/adam...
02.03.2026 02:00 β π 0 π 0 π¬ 0 π 0
Imagine if you could do typeof, but with actual code, but code that doesnβt execute.
So in react do
type HookResult = decltype useFoo();
But useFoo() doesnβt actually execute. TS just pretends it did, and notes the return type.
βπ₯²
02.03.2026 00:04 β π 1 π 0 π¬ 0 π 0Hahaha I'm stuck in Java-land for backend stuff. I just want proper generics without the type erasure π«£
01.03.2026 23:59 β π 1 π 0 π¬ 1 π 0@searyanc.dev make it happen papi
01.03.2026 23:12 β π 0 π 0 π¬ 0 π 0I am once again asking TypeScript to ship me a decltype keyword
01.03.2026 23:12 β π 3 π 0 π¬ 3 π 0Yeah turns out the rest of the state doesnβt want to pay for NYCβs inability to budget effectively
19.02.2026 17:46 β π 2 π 0 π¬ 0 π 0I'm looking forward to his across-the-board 10% property tax hike ππ«¦
19.02.2026 17:44 β π 0 π 0 π¬ 1 π 0He's about to teach his supporters that renters do indeed pay property tax. I love him for that β€οΈ
19.02.2026 17:43 β π 0 π 0 π¬ 0 π 0I was skeptical of Zohran but my god I was wrong. I unironically love this dude π
19.02.2026 17:28 β π 5 π 0 π¬ 2 π 0
This is apples to oranges. It's really neat that SolidStart will automatically re-fetch data that's pre-loaded in a route, when that route performs an update via a form submission.
But what's described in my post is much, much more flexible.
Interesting. Mind dropping a link to the relevant docs? I remember @ryansolid.bsky.social telling me single flight mutations were a combination of multiple features, but that was a few years ago.
29.01.2026 14:10 β π 0 π 0 π¬ 2 π 0
Sure! If the UI is slow to refetch you might absolutely want to do something else. Ie immediately show a "Success" toast and then just show a loading spinner for the UI.
Lots of options - TanStack supports any subset of this :D
Really excited to share this blog post.
I can't imagine a better architected Middleware system than what's in TanStack Start, and I can't imagine a better demonstration of its power than single flight mutations.
frontendmasters.com/blog/single-...
π¬
14.01.2026 00:24 β π 0 π 0 π¬ 0 π 0
I know this is old news but it's still incredibly cool to me how well AI can help spot errors in my code.
Without it I'd have been stuck until morning, when I could ping an actual Java dev. Now I'll have a PR done and waiting π¬
Thatβs hella weird. Especially when the tw classes can be dynamic with []
02.12.2025 05:06 β π 1 π 0 π¬ 0 π 0I went to a party and a George Clinton concert broke out
27.11.2025 04:35 β π 6 π 0 π¬ 0 π 0Those slippers! π
12.11.2025 16:02 β π 4 π 0 π¬ 0 π 0Fortunately this deal gives them back their food, so thereβs that at least π
10.11.2025 17:16 β π 0 π 0 π¬ 0 π 0
Mostly. The subsidies only applied to a relatively small % of the population. Most have healthcare via their job.
Also the dems have zero real power so they couldnβt really keep shutting down air travel over the coming holidays. They control neither house of congress.
But ya it sucks
The Weird Parts of βposition: sticky;β, by @adamrackis.bsky.social (@frontendmasters.com):
https://frontendmasters.com/blog/the-weird-parts-of-position-sticky/
#css #positioning
You know how position: sticky always fails for weird reasons that are a pain in the π to fix?
I finally had enough, peeked at the spec, asked AI some questions, and mostly figured things outβand wrote about it here.
frontendmasters.com/blog/the-wei...
I've been using @tanstack.com Start for a new project and it's super good. The server functions completely replace the need for TRPC/GraphQL/REST, the middleware is composable and fully typed, and having TSRouter's nice typing and stateful search params is icing on the cake. A+!
25.10.2025 11:30 β π 84 π 6 π¬ 3 π 0Thereβs also a Solid port
24.10.2025 19:19 β π 1 π 0 π¬ 0 π 0
Oh you want to hear about why TanStack Startβs middleware is so incredible??
I gotchu
frontendmasters.com/blog/introdu...
Great to know - thank you!!
21.10.2025 02:01 β π 1 π 0 π¬ 0 π 0
Where are my hardcore JS spec nerds?
Is this spec'd behavior, or is it just a cool Vite feature?