Content pfp
Content
@
0 reply
0 recast
2 reactions

Harry pfp
Harry
@htormey
More things I’ll say on farcaster but not on X: I’ve gone sour on NextJS and have been looking for alternatives. Tan stack start from the author of react query looks early but promising. A great review of it and how it compares to nextjs can be found here https://youtu.be/Iun1DE_oHG0?si=EwNPNa3Hxb8RqdTO
2 replies
2 recasts
16 reactions

Harry pfp
Harry
@htormey
I tired react query on the advise of @nickcherry when building out the frontend for APX and I really liked it. Developer ergonomics felt great and seemed a lot less cumbersome than redux. Hence I’m curious about tan stack start. I’m also contemplating remix as I’m told it works well with cloud flair etc.
1 reply
0 recast
3 reactions

W1NTΞR pfp
W1NTΞR
@w1nt3r
If you like React Query, consider tRPC. It's a thin layer above it with a very clean TS interface between client and server with built-in validation and useful primitives (like middleware and infinite queries). It's *a lot* less magic than the React's server component business, easier to understand and debug
2 replies
0 recast
4 reactions

Harry pfp
Harry
@htormey
This is interesting. Any articles and or example code?
1 reply
0 recast
0 reaction

W1NTΞR pfp
W1NTΞR
@w1nt3r
Server — define "routes", uses zod to validate inputs https://github.com/nouns-terminal/nouns-terminal/blob/main/server/api/router.ts Client — use auto-inferred typed hooks that are wrappers on top of React Query (with all the useful goodies like isLoading, .refresh(), refetchInterval, suspense, etc.) https://github.com/nouns-terminal/nouns-terminal/blob/a46f0cfbe5ba8ab90fdefd09d7348623f4e961c5/components/BidderProfile.tsx#L13
0 reply
0 recast
1 reaction