Lev Khoroshansky (@TheTmLev) profile picture

Distributed systems engineer

Joined September 2011
.@tan_stack Start: how do you prevent route's `beforeLoad` / `loader` from being run server-side? Unfortunately, the current auth setup requires all network calls to happen in the browser I've tried `spa.enabled: true` in Vite config and `ssr: false` in route cc @tannerlinsley
3
3
1,512
Replying to @shadcn
@shadcn Do you need any help with the new theme editor?
26
Replying to @theo
@theo you can do type-safe optimistic updates via `queryOptions`: tanstack.com/query/latest/do… You missed a piece of the blog post that specifically addresses that
16
Replying to @TkDodo
@TkDodo is it safe to call `setQueryData` in the middle of `mutationFn` for optimistic updates? My `mutationFn` is split into two phases: compute something & persist something. I want to optimistically update some queries after the "compute" phase but before the "persist" phase.
1
24
Поддержите Медиазону! donate.zona.media/?utm_campa…
1
27
"Чужих политзаключённых не бывает", — Илья Яшин
2
111
Четыре года
1/10 20 августа. Второй раз отмечаю свой второй день рождения. День, когда меня убивали, а я почему-то не убился. Просто для памяти, сухая констатация. Спустя два года:
2
52
Replying to @rickyfm
@rickyfm a small typo in beta upgrade guide:
1
1
27
Какие же они уёбки, просто слов нет
Час назад матери Алексея позвонил следователь и поставил ультиматум. Или она в течение 3 часов соглашается на тайные похороны без публичного прощания, или Алексея захоронят в колонии. Она отказалась вести переговоры с СК, потому что у них нет полномочий решать, как и где ей хоронить сына. Она требует соблюсти закон, который обязывает следователей отдать тело в течение двух суток с момента установления причин смерти. Согласно медицинским документам, которые она подписывала, эти двое суток истекают завтра. Она настаивает на том, чтобы власти дали провести похороны и панихиду в соответствии с обычаями.
1
37
Путин убил Алексея Навального
Зачем вы меня защищаете от Медведева, он же пустое место. Они специально подсовывают вам этого некчемыша, чтобы вы выпустили пар на него. Пишите о том, что Путин убил Алексея. Каждый день пишите. Сколько хватит сил
2
61
Looking for a frontend engineer: * Next.js 14 and React Server Components * Clerk auth * tRPC-like communication and TanStack Query * Radix UI (not @ shadcn / ui) * Tailwind (and Framer Motion) * Knows the difference between Jotai and Zustand Hit me up
2
292
Replying to @ashbyhq
@ashbyhq has such a good app, it's illegal
2
23
Replying to @Trackmania
@Trackmania I've just lost two Royal matches because the server disconnected me a several times (one of each seems to have restarted the match for everyone, because map set was exactly identical). I was playing on Steam Deck with solid internet connection.
1
1
27
Replying to @tan_stack
@tan_stack any way to prevent tick labels from being rotated in Charts? Discord discussion: discord.com/channels/7197023…
1
58
When @nextjs doesn't want you reacting
1
201
Replying to @ThePrimeagen
@ThePrimeagen @fasterthanlime If the two of you don't reconcile right now, the entire tech Twitter community will be deeply saddened :( You'll force us to take action.
You’re unable to view this post because this account owner limits who can view their posts. Learn more
29
Replying to @tannerlinsley
@tannerlinsley the only thing I'm missing from the Router right now is the ability to pass context while `throw`-ing `redirect({ to: "/some-path" })`
1
1
1
515
Replying to @tannerlinsley
@tannerlinsley Another question about Router: I have a `/` route with a loader which fetches the `user` object. If the user is authenticated, I want to redirect them to `/another/route`. Can I somehow pass `user` object to `/another/route`? I'm using `<Navigate>` for redirect
1
12