Sign in

Itspatricku

@itspatricku.bsky.social
12 followers 14 following 9 posts
PostsRepliesMedia
Itspatricku @itspatricku.bsky.social · 06/01/2025
I very much underutilized loaders in remix in this project so I can’t speak too much to the migration of them. That being said, loaders are great in tanstack. I also ended up rewriting and get rid of a handful of providers (e.g. a user provider) by leverages tanstacks context which has been sweet.
010
Itspatricku @itspatricku.bsky.social · 06/01/2025
using tanstacks context which has been nice. Not sure it that would have been quite possible that way in remix either.
000
Itspatricku @itspatricku.bsky.social · 06/01/2025
This is a larger side project, so it’s a great candidate to explore its viability.
010
Itspatricku @itspatricku.bsky.social · 06/01/2025
Tbh I haven’t explored rr7 that much yet. I’ve been following tanstack router development for a while and it has been everything I wanted from a router. Rr4 wasn’t it, Rr5 wasn’t it, rr6 wasn’t, remix wasn’t it either. Fool me 4 times… haha Also I’m pretty excited about what I see in tanstack start
110
Itspatricku @itspatricku.bsky.social · 05/01/2025
I always split router/page logic from my actual features. This made migrating from remix (spa) to @tanstack.com router a breeze. A lot less non null assertions 🙈🙈
1221
Itspatricku @itspatricku.bsky.social · 05/01/2025
Should mention this is a 2 step process. Migrating to tanstack router first, then eventually using it as a project to migrate to start.
020
Itspatricku @itspatricku.bsky.social · 05/01/2025
Perfect timing - like 75% done migrating a remix spa app to tanstack router, looking forward to iterating on it once you got something posted! 🤘
130
Itspatricku @itspatricku.bsky.social · 05/01/2025
You mean something like this, hey? Agreed, it’s a solid solution and probably what I will use. Tbf, what I m looking for is achievable with just tanstack router loader. It would just feel ✨ delightful ✨declaring the query once and using its results across loader and component.
150
Itspatricku @itspatricku.bsky.social · 05/01/2025
@tkdodo.eu @tannerlinsley.com hear me out… one thing I don’t “love” is that I need to call postQueryOptions(postId) twice. It’s fine - It makes sense, but I wished I could just “reuse” the same call. Maybe this is crazy, but do you think an API like this be possible? In query+router?
1150