Posts by Dominik ๐ฎ
useQuery or useSuspenseQuery is what creates the observer for the subscription. Without that, your component won't re-render when new data come in. Also calling a fetch during render is against the rules of react.
I want @tanstack.com Query v6 to be a release that will be easy to upgrade for 90% of users. Breaking behaviour for edge-cases, no application-wide syntax changes.
This RFC is likely the exception, but we want to ship it in v5 w/ deprecation notices and then remove them in v6.
was great meeting you. and awesome @tanstack.com devtools mention in that slide โค๏ธ
knip failures in CI over time, interval = 3 hours. peak is 12 which is 4 times per hour
โ๏ธ This is how often knip fails in CI in the @sentry.io codebase. Yes we use sentry to track our CI. All those spikes show a PR that would've left dead code behind if not for knip protecting us ๐ฅ
Interval is 3h so there's up to 4 PRs / hour that need extra knipping!
Back home from React Paris ๐ซ๐ท and as always, it was an amazing experience. Thank you @aymenbenamor.bsky.social @ojilla.bsky.social @elian.codes for having me, I had a great time.
I think throwing a promise is deprecated and can't do all the things use() can, but I'm not the right person to give a definitive answer on that
I really hope not ๐
Thanks ๐
- We have to add a shim for React18
- We have to cache promises on the observer
1% is like 120 bytes!
Thank you ๐
Looking for volunteers that use @tanstack.com query with suspense. I have a PR that switches from throwing promises to `React.use` (with a shim for React18). Tests pass after changing them ๐
.
Try it out pls๐
npm i pkg.pr.new/@tanstack/re...
That's ๐ฅ
The React Compiler rust port is now up as an in-progress PR at github.com/facebook/rea... - more to come as we test and polish.
Resonates a lot with me, thanks for sharing. I'm happy I got to read that today โค๏ธ
comic with 4 panels in a 2x2 grid, two characters are arguing and getting more and more confrontational about grid or flexbox, then a third character pops in and suggest float:left, and the two characters unite to beat the third character
New cartoon: Setting aside differences
comicss.art/comics/244/
#css #cartoon
I hope I can be back next year, @bejs.bsky.social make great conference and I wouldn't want to miss this ๐
Tanner and Nicolas cooking
Tejas cooking
Fariz being Fariz
The day after the conference, we had a Macaron workshop, which was a lot of fun.
Me and Thibault
Me and Faris
Met a lot of great people, old friends and new friends like @thibaultvdb.bsky.social and @farisaziz12.bsky.social
Me on stage taking a photo of the audience
The audience
On day 2, I gave a talk about โ๏ธ knip by @webpro.nl. This is me taking a photo of the audience, from both sides:
Dan on stage giving his talk "How not to use TanStack Query"
Tanner giving a talk about TanStack Start
There were so many @tanstack.com mentions at the conf that @sarahdayan.com made the joke to rename it to "TanStack Paris" ๐ฅ. Shoutout to @neciudan.dev for having the bravery to give a TanStack talk in front of both @tannerlinsley.com and me ๐
Pantheon
Selfie in front of Notre Dame
Rom, Nicolas, Tanner and Dominik at Dinner
First, I explored the city a bit on Wednesday. Saw the Pantheon and Notre Dame, went to lunch with @nicolas.dubien.me and @francoisbest.com. Gave my workshop "React Query - Beyond the Basics" at the Pigment office, then went for Dinner with @tannerlinsley.com, @beaussan.io and @brillout.com
Back home from React Paris ๐ซ๐ท and as always, it was an amazing experience. Thank you @aymenbenamor.bsky.social @ojilla.bsky.social @elian.codes for having me, I had a great time.
Hacker News
Hah.
Anything we can do to get @tanstack.com start to the list of meta frameworks ๐?
Is your testing suite hiding an inaccessible product? โฟ
@tkdodo.eu drops a necessary truth bomb: "Test IDs are an accessibility smell." If your tests can't find elements the way a real user (or a screen reader) does, you aren't actually testing your appโyouโre testing your implementation.