• joshtriedcoding Profile Picture

    Josh tried coding @joshtriedcoding

    4 months ago

    ok i think data fetching just peaked it doesn't get better than this

    joshtriedcoding tweet picture

    72 38 2K 181K 691
    Download Image
  • benhouston3d Profile Picture

    Ben Houston @benhouston3d

    4 months ago

    @joshtriedcoding it does get even better: use a TanStack/React-Start server function and you'll get type safety and less boilerplate.

    benhouston3d tweet picture

    3 0 64 6K 18
    Download Image
  • sebastienlorber Profile Picture

    Seb ⚛️ ThisWeekInReact.com @sebastienlorber

    4 months ago

    @joshtriedcoding What if you had built-in caching to your client API?

    sebastienlorber tweet picture

    0 0 9 1K 3
    Download Image
  • rickasaurus Profile Picture

    Rick @rickasaurus

    4 months ago

    @joshtriedcoding I don’t know it seems like get_connected_account() everything else is boilerplate

    0 0 3 894 0
  • ImDanTheMan Profile Picture

    DanTheMan @ImDanTheMan

    4 months ago

    @joshtriedcoding @grok can you elaborate how this is better than axios etc etc?

    1 0 0 5K 0
  • digitalconner Profile Picture

    Conner Pope @digitalconner

    4 months ago

    @joshtriedcoding Literally just use SWR It’s 10x this

    0 0 0 69 0
  • deomaius Profile Picture

    .:⠠⋮⠠:. @deomaius

    4 months ago

    @joshtriedcoding 🤨

    0 0 0 40 0
  • nstfkc Profile Picture

    Enes @nstfkc

    4 months ago

    the peak should look more like const { data } = useQuery('/connected-account') - `useQuery` is baked into the framework, handles all the boiler plate under the hood. - No need for a key, the url is already the key. - `data` is typesafe out of the box without type-gen - You also have the option to prefetch this on the server

    22 3 174 16K 61
  • iansbrash Profile Picture

    ian brash @iansbrash

    4 months ago

    @joshtriedcoding I prefer direct tRPC <> React Query integration (don’t have to worry about query keys + less verbose among other things)

    2 0 26 5K 6
  • wiedymi Profile Picture

    Wiedy Mi @wiedymi

    4 months ago

    @joshtriedcoding Await in return statement 🫠

    2 0 17 8K 2
  • phil70i Profile Picture

    Phil @phil70i

    4 months ago

    @joshtriedcoding Dont use TypeScript if you're not going to use types.

    3 0 8 3K 0
  • codinginflow Profile Picture

    Coding in Flow @codinginflow

    4 months ago

    @joshtriedcoding This was peak data fetching:

    codinginflow tweet picture

    0 0 8 399 1
    Download Image
  • ThibaultDe8548 Profile Picture

    Thibault Denis @ThibaultDe8548

    4 months ago

    @joshtriedcoding It does get better with tanstack start imo. This tech stack just keep getting better it's insane

    ThibaultDe8548 tweet picture

    0 0 7 1K 2
    Download Image
  • ditorodev Profile Picture

    Juan @ditorodev

    4 months ago

    @joshtriedcoding ufff I find trpc much better ergonomically than this

    0 0 5 2K 0
  • krystiangebis Profile Picture

    Krystian Gebis @krystiangebis

    4 months ago

    @joshtriedcoding try @zero__ms

    0 0 4 3K 1
  • Rose__Celestial Profile Picture

    Celestial Rose @Rose__Celestial

    4 months ago

    @joshtriedcoding This is close to perfect, but tRPC is the winner

    0 0 4 2K 0
  • ahm0xc Profile Picture

    ahm0xc @ahm0xc

    4 months ago

    @joshtriedcoding is this jsstack?

    1 0 4 12K 0
  • preyneyv Profile Picture

    pranav @preyneyv

    4 months ago

    @joshtriedcoding Check out `queryOptions`. It's a game changer for optimistic updates and invalidations (typesafe!!). I only found it earlier this year and can't believe I ever used TanStack Query without it. tkdodo.eu/blog/the-query…

    0 1 2 59 2
  • ruchernchong Profile Picture

    Ru Chern Chong @ruchernchong

    4 months ago

    @joshtriedcoding Is this tRPC?

    2 0 3 8K 0
  • kjalwyn Profile Picture

    kyle @kjalwyn

    4 months ago

    @joshtriedcoding it does in fact get better - imagine all these boilerplate queries are generated for you orval.dev

    0 0 2 79 3
  • inshiku_han Profile Picture

    Insik Han @inshiku_han

    4 months ago

    @joshtriedcoding orpc

    0 0 2 205 0
  • scooptywoopity Profile Picture

    scoop @scooptywoopity

    4 months ago

    @joshtriedcoding I guess you hadn’t heard of oRPC or tRPC

    0 0 2 263 0
  • pumpkin_link Profile Picture

    Eles Estão Diolho Emnois 👽🇧🇷 @pumpkin_link

    4 months ago

    @joshtriedcoding Just use orpc bro

    0 0 2 174 0
  • aarondelasy Profile Picture

    Aaron Delasy @aarondelasy

    4 months ago

    @joshtriedcoding you're missing data validation though with Zod or something similar. this way you can always make sure the data is actually the type you expect

    0 0 1 4K 2
  • IzakFilmalter Profile Picture

    Izak Filmalter @IzakFilmalter

    4 months ago

    @joshtriedcoding It does. Checkout @zero__ms

    1 0 1 3K 0
  • _VladanIlic Profile Picture

    Vladan Ilic @_VladanIlic

    4 months ago

    @joshtriedcoding How do you fetch data on a server? and, is react-query suitable for data mutations, like useSWR?

    3 0 1 6K 0
  • yvesdalyy Profile Picture

    Jean Daly @yvesdalyy

    4 months ago

    @joshtriedcoding Nope

    0 0 1 2K 0
  • fagulhu Profile Picture

    fabio 🥾🌎 @fagulhu

    4 months ago

    @joshtriedcoding @grok summarize for me, a noob

    2 0 1 5K 2
  • papitosenior Profile Picture

    Lord Papito the 3rd @papitosenior

    4 months ago

    @joshtriedcoding Tanstack?

    0 0 1 61 0
  • zambszz Profile Picture

    zambsz @zambszz

    4 months ago

    @joshtriedcoding another day thanking god for not working with JS/TS

    0 0 1 67 0
  • OwenMelbz Profile Picture

    Owen Melbourne @OwenMelbz

    4 months ago

    @joshtriedcoding I dno const { data } = await axios.get(“setttings”) is pretty dope 😂

    0 0 1 59 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer