TanStack Start is looking great

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 63

  • @devagr
    @devagr 3 часа назад +2

    Great overview!
    The only thing I'd add is that server rendering still works without the route level loaders, and you can fetch data directly in your components without using loaders using tanstack query and have it work perfectly fine with SSR. tanstack query has a `useSuspenseQuery` hook which is an alternative to `useQuery` and runs during SSR to fetch data. You'd probably still want to use the loader to preload that data early and not cause waterfalls, but it's entirely possible to only fetch data in components and work with SSR!

  • @butwhothehellknows
    @butwhothehellknows 21 час назад +23

    Doing good babe! Keep it up! Love you 🥰

  • @ianfrye8988
    @ianfrye8988 20 часов назад +14

    I’ve been using it for about two weeks now! I’m loving it and can’t wait for it to be officially stable

  • @nikolovlazar
    @nikolovlazar 21 час назад +14

    Great framework! Recently I've started to build a trivia app with it and I'm starting to really like it. Coming from Next.js, the isomorphic nature of the router takes some time getting used to, but once you figure it out it's smooth sailing from there on.

    • @digitalguy4242
      @digitalguy4242 21 час назад +2

      I saw your video man, thanks for making them

    • @nikolovlazar
      @nikolovlazar 21 час назад +2

      @@digitalguy4242 Oh thank you! I'm definitely interested to publish more on TanStack stuff.

  • @raymondray2520
    @raymondray2520 19 часов назад +6

    I Love TanStack it is the best when it comes to type-safety

  • @jon1867
    @jon1867 7 часов назад +1

    Tanstack start is fantastic, I've migrated over a big remix app to it. Still got some quirks but it feels alot more promising to me. There's an insane amount of typesafety, you'll be using tanstack for a month and still be like "Damn I can't believe that's a part of the framework"

  • @davidsiewert8649
    @davidsiewert8649 4 часа назад

    Cody: nothing motivates more than debugging esoteric nextjs syncracies

  • @shaked1233
    @shaked1233 38 минут назад

    tanstack start looks good!

  • @darialyphia
    @darialyphia 19 часов назад +12

    People ditching nextjs, frontend is healing

  • @AjaySingh-jz8qx
    @AjaySingh-jz8qx 20 часов назад +18

    Tanstack start🗿 will give direct and serious competition to Next js👺

    • @Simple_OG
      @Simple_OG 8 часов назад +1

      Already switched

  • @rand0mtv660
    @rand0mtv660 17 часов назад +5

    Even though TanStack Start is in beta, if you need a client side only app because you don't require server side funcionality, TanStack Router has been in v1 for over a year now and should be stable to use.

  • @Hypawolf
    @Hypawolf 15 часов назад +3

    Been dealing with data loading state issues in next js the past week at work. It’s such a pain.

  • @patolorde
    @patolorde 21 час назад +2

    awesome video i like tanstack

  • @purpleParadoXon
    @purpleParadoXon 19 часов назад +3

    Would you mind sharing the VSC theme? Looks pretty cool.

  • @GreenPixel00
    @GreenPixel00 6 часов назад

    Recently, I migrated a large application from React Router to Transtak Router, which is a big part of start. It's so much better in every aspect than React Router. Can't wait start using Tanstack Start

  • @williamschaefermeyer7007
    @williamschaefermeyer7007 12 часов назад

    Middleware will be great to see in a followup video. Especially chaining them together and hows the types are adjusted throughout.

  • @deezydoezeet
    @deezydoezeet 17 часов назад +2

    Yea it's cool

  • @SogMosee
    @SogMosee 16 часов назад +2

    Do more tanstack start videos! Show streaming and how to do optimistic ui with tanstack.. integration with tanstack query might be required. Also show how react 19 might work with it, what with useActionState and the like

  • @DaPaBe1999
    @DaPaBe1999 21 час назад +2

    I just use Tanstack Router for SPA and strongly recommended on par with RPC like tools and Electron too

  • @kal9421
    @kal9421 16 часов назад +2

    here we go again

  • @designerjehovah4453
    @designerjehovah4453 15 часов назад +1

    Pretty cool. I find it to be very Remix- like though...which is great cuz I like it anyways.

  • @ibrahimnalbant7635
    @ibrahimnalbant7635 20 часов назад +1

    What are the pitfalls of Next you encountered? Did you just want something more SPA based?
    Could you also make a vid comparing RR7 to Tanstack? I think that'd be very interesting! Great video btw!

  • @owenwexler7214
    @owenwexler7214 9 часов назад

    It was a rough experience in alpha but now that it’s in beta I’m gonna try it again. My main criticism so far is that the starter repo drops so much extraneous stuff in that you have to manually pick out.

  • @bsicyaroix
    @bsicyaroix 20 часов назад +2

    And why exactly you decided to migrate from next js?

  • @OhDevBeard
    @OhDevBeard 9 часов назад

    I made the jump to Sveltekit mid-last year and absolutely love it. But.. I've been following Tanstack Start for a while now, and if there was anything that could make me come back to React (besides my day job 😭) it would be TSStart. There're so many things I could say about it, but the fact that it has as much as it does and is also super intuitive... icing meets cake.
    Now I'm stuck on do I stick with Sveltekit or do I jump ship and use Tanstack Start? (yes I would use this in beta. I don't have many cares in life lol)..
    It's a vicious cycle.

  • @peteremad5228
    @peteremad5228 14 часов назад +1

    i don't like react but tanstack-start/router is the only way i could use react

  • @Pawan-Poudel-yt
    @Pawan-Poudel-yt 5 часов назад

    6:50 do money sign id😂

  • @MrEnsiferum77
    @MrEnsiferum77 17 часов назад +1

    I'm waiting for stable version and client first approach, because u can't start migrating spa app to server first only app, it's too much.

  • @MattD-q5u
    @MattD-q5u 20 часов назад +1

    server functions are really cool, I would love nextjs to have something like that.
    however it's not fair to compare it with Server components. TanstackStart works like the pages router, it doesn't use server components to my knowledge. I still prefer to use async components and Suspenses rather than loaders. It's much cleaner and without unnecessary boilerplate code!

    • @tannerlinsley
      @tannerlinsley 13 часов назад

      We'll have RSCs soon. Each approach has it's pros and cons.

  • @DevScript01
    @DevScript01 20 часов назад +2

    Please what is the name of the theme you're using in vscode?

    • @WebDevCody
      @WebDevCody  19 часов назад

      Bearded theme stained blue

  • @mohasinkr
    @mohasinkr 14 часов назад

    Can't enable notification on your channel because it says the content is made for kids 😂.

  • @brandonsayring
    @brandonsayring 13 часов назад

    Jia TanStack when?

  • @redhat321
    @redhat321 21 час назад +1

    what is this vscode theme?

    • @Ikakoo2410
      @Ikakoo2410 21 час назад

      Bearded theme, stained blue i think

    • @redhat321
      @redhat321 21 час назад

      @@Ikakoo2410 thank you

  • @grandpowr
    @grandpowr 13 часов назад

    Honestly I like it a lot more than Next JS, hopefully it becomes the norm because my fingers bleed when I have to write code in Next.

  • @s4ndeep1203
    @s4ndeep1203 21 час назад +1

    Give Nuxt 3 a try

  • @gadgetboyplaysmc
    @gadgetboyplaysmc 3 часа назад +1

    thanks for seeing the garbage that nextjs is

  • @bitkillerjones
    @bitkillerjones 21 час назад

    how am i not first

  • @naughtiousmaximus7853
    @naughtiousmaximus7853 21 час назад +3

    Its about time people move on from Nextjs, preferably from React as well. When I tried learning React I started right as Server Components were introduced, it was so difficult to learn because you had around trillion concepts to stitch together all while still not being stable. Mess and a half.

    • @theceleronuser956
      @theceleronuser956 20 часов назад +1

      😑😑😑

    • @cat.basilio
      @cat.basilio 20 часов назад +2

      For me, I don’t see the alternatives for React for myself. I want framework to have vanillaJS-like syntax and decent amount of jobs

    • @antsii
      @antsii 20 часов назад +2

      Nextjs IS not your problem, you just dont know how to use it

    • @naughtiousmaximus7853
      @naughtiousmaximus7853 19 часов назад

      @@cat.basilio True.

    • @seans4290
      @seans4290 16 часов назад +3

      Skill issue

  • @safarl45
    @safarl45 13 часов назад

    It’s all just Remix …

  • @JohnMcclaned
    @JohnMcclaned 7 часов назад

    just use next 15 with ppr on, dynamicIO on and react compiler and be done with it. these manic youtubers flip flopping on stacks only to go right back are just as bad as the "daily framework drop" meme.

  • @Harish-rz4gv
    @Harish-rz4gv 21 час назад

    cursor gives autocomplete anyways

  • @PraiseYeezus
    @PraiseYeezus 14 часов назад

    The only thing I've never liked about Tanstack stuff is the API footprint is so huge, dozens of config objects and options and "sensible defaults" that leave you scratching your head. React Query is great in the sense that it works super well, but the dx was never smooth for me. Next.js has sucky dx too but at least it usually feels primarily like writing React

  • @BjornBrasse
    @BjornBrasse 20 часов назад

    Tanner moved the bar!! But I still prefer RR7 with its new type safety 😊

    • @tannerlinsley
      @tannerlinsley 13 часов назад +3

      Thanks! I sure hope so. Re: RR7's type-safety: it's a toy compared to TanStack Router's. They literally bolted it on using weird imports and a heavy handed language service plugin just to say it was non-breaking. By the time they catch up to TSR's type safety, they'll have re-architected and rewritten their type system 2 more times.