Freelance developer - React Query maintainer - Occasional OSS contributor - Been putting React on servers for a decade - Father of two - Homebrewer

Stockholm
A lot of the things we put on React context should never have been there to begin with, but we didn't have an ergonomic per-request cache so it was the only way to get stuff to work universally with SSR. Context not being available in SCs will lead to better patterns.
1
15
4,080
When I wrote the above tweet, I had totally forgotten about this excellent thread. My only extra point is that since it's now possible to do these things without context on the server, we also don't need context for them on the client anymore. nitter.catsarch.com/sebmarkbage/status/158…
1
341
If Conditional Routes means what I think it means it can be a game changer. I've built something like it, "route overrides" in closed source, and it's so, so powerful, especially if it's done at a nested route level. 1/2 beta.nextjs.org/docs/app-dir…
2
4
1,337
One thing we used it for was having slightly different routes in different countries. Another thing was putting header+footer in nested routes and hiding them if the user came from a webview in the app. All declarative. Tons of usecases. 2/2
1
149
If Conditional Routes is something else, see the above as a free idea. 😉
1
2
131
Fredrik Höglund retweeted
📣 After years of building devtools at @Meta, @Cloudflare & OSS, I'm now full-time indie! I want to make building real-time collaborative applications 100x easier. And that's just the start! Interested? You can now sponsor me on GitHub for early access: github.com/sponsors/threepoi…
39
106
790
271,315
I never quite liked my old profile picture and the next one I settle for you will have to live with for a while, how do you like this one? 🤔
2
6
1,797
Fredrik Höglund retweeted
Most of us who work on heavily used systems at scale saw this one coming, and that they would propose a rewrite as they just have, and we also don’t think this is the answer. This is why hubris is a very counterproductive quality in engineering. Why do we all agree on this?
94
1,060
6,958
1,365,658
Fredrik Höglund retweeted
20
39
634
Fredrik Höglund retweeted
I haven't talked about my work a lot recently, but I've got some big personal news! 🤯 Last year I joined @verbforwriters to build verb.ai, an AI-enhanced writing app for fiction writers! Today, we shipped! ⛴
Today, we’re thrilled to launch Verb, an AI-enhanced writing app for fiction writers! ✍️🤖 Verb helps you write, brainstorm, plan, and get feedback on your work. Sign up for free at verb.ai! Read on for more on our thinking 👇🧵
13
26
110
Fredrik Höglund retweeted
Important question for @tan_stack Query users: How many of your queries use the option `keepPreviousData: true`?
12% Most
16% Some
26% Few
46% 👀
1,356 votes • Final results
13
5
19
Naming is hard and I have no better suggestions, but Client Components running on both the server and the client causes me daily headaches. So hard to communicate about. * Server Components * Client Components, on the server * Client Components, in the ... client?
2
2
9
I get why they're called that, they represent the portable part of the code that can run in many environments etc, they are the "client" to the Server Components. I've tried, but can't come up with anything better, Application Components would have been even worse.
1
2
For a lot of devs, the name might actually lead to a good mental model, but when working/thinking/writing about the details around how RSCs, SSR and the client (here I have to clarify I mean the client as in browser/app, not CCs) work together, it's just tricky.
2
4
Fredrik Höglund retweeted
💥 BIG life news 👋 I'm going full-time Open Source and am slapping a small indie brand on it: 0no.co 💡I want to help teams use projects I work on (like urql!) and give 1:1 support 📐 What else? TBD. Workshops, office hrs, short gigs… Let's chat & see ♥️
7
15
95
If you want to play around with RQ+RSCs early and don't mind current limitations and caveats, check out this WIP docs PR by efilion: github.com/TanStack/query/pu…
5
This is pretty cool, Promises are becoming valid React children. Will also work across server->client boundary (with streaming). Will eventually work with all use()-able types. Observables are one hypothetical future usable. Observables as children? 🤯 github.com/facebook/react/pu…
2
Wow, this got some traction, thanks for sharing it and for the support! 🥰 This was mostly an early heads up, but I should probably have included some of the things I'm good at and think I can help companies with. Condensing yourself into a pitch is tricky though, stay tuned. 😅
I've got some news to share, I'm striking out on my own and I'm becoming a consultant! 🎉 I'm still setting up the business and figuring things out, but I thought I'd share early. You might have noticed I've been pretty much afk the last few months, I'll share why in the 🧵
1
I've got some news to share, I'm striking out on my own and I'm becoming a consultant! 🎉 I'm still setting up the business and figuring things out, but I thought I'd share early. You might have noticed I've been pretty much afk the last few months, I'll share why in the 🧵
2
3
30
I'm super nervous and excited, and I'll share more as things progress. I've got some renovating to finish up first and I'll start off with some long overdue OSS work in December.
1
4
I'm available from January, and while I have some discussions going nothing is locked in yet, so if you've got any interesting leads that might suit me, my DMs are open!
1
7