TanStack Table and Router (react-table), why headless? feat. Tanner Linsley, the creator!

Поделиться
HTML-код
  • Опубликовано: 2 окт 2022
  • Best way to be a better developer is to learn what the pros do. Tanner Linsley and Kevin Ghadyani look at the source code of tanstack-table (react-table), tanstack-router (formerly react-location), and tanstack-virtualized!
    A lot of it boils down to your needs, but even react-router doesn't have the ability to handle query strings like regular routes.
    We also go into the source code for TanStack-Virtualized (react-virtualized) and TanStack-Table and explain why react-table is now headless as well as the decisions that went into it such as the move to TypeScript and the increasing desires of react-table's users.
    Checkout TanStack Query (react-query) for yourself:
    tanstack.com/query/v4
    Tanner Linsley's Twitter:
    / tannerlinsley
    TanStack's Twitter:
    / tan_stack
    Thanks to @Tanner Linsley for meeting with me about TanStack!
    Video Edited by **Allen Pascua**: allenfpascua.myportfolio.com
    #CodeConversation

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

  • @SeanCassiere
    @SeanCassiere Год назад +8

    Thank you for this. The Tanstack libraries have slowly become pretty essential to any React project I'm working on... plus the conversations you guys had on why it is the way it is, and the stories were wonderful.

  • @KevinVandyTech
    @KevinVandyTech Год назад +3

    The surprise shout-out was amazing! Thanks Tanner. And my project is called material-react-table for anyone interested

    • @KevinGhadyani
      @KevinGhadyani  Год назад +2

      I actually looked at your project for work recently. Way easier than building that all myself :).

  • @joshuagalit6936
    @joshuagalit6936 Год назад

    I really loved the discuss on this...

  • @IainSimmons
    @IainSimmons Год назад +2

    Great video!
    Would love to see you get Tanner back on to discuss the new Tanstack Router (he kind of dropped a hint about a framework agnostic router here).

    • @KevinGhadyani
      @KevinGhadyani  Год назад +1

      My memory is a bit vague, but didn't he talk about that in the next video? I remember having a whole conversation about building headless and how the other library versions work.

    • @IainSimmons
      @IainSimmons Год назад

      @@KevinGhadyani I have watched another video of yours on that but I think it focused on Tanstack Table and Tanstack Query

  • @ArturZalewski
    @ArturZalewski 8 месяцев назад

    Nice. Currently working with the Tanstack virtualized table and it worked well, until I faced the requirement, of nesting a simple table in a virtualized row.

    • @KevinGhadyani
      @KevinGhadyani  8 месяцев назад +1

      I did this. You just need a custom cell for the whole row that renders a table.

  • @ShivamMishra-mn6cs
    @ShivamMishra-mn6cs 4 месяца назад

    At 7:17 you mention updating a specific cell using hook can you example how can i achieve that and thanks for the video

  • @5310sumit
    @5310sumit Год назад

    Can you ask Tanner why react table doesn’t have expanded row search, to search sub rows values nested child

    • @KevinGhadyani
      @KevinGhadyani  Год назад

      You can contact Tanner directly on Twitter: twitter.com/tannerlinsley.
      From my understanding, he gives you access to all rows, so you can search them yourself, but I haven't used the latest React Table, so I'm not sure.

    • @5310sumit
      @5310sumit Год назад +1

      Cool Thanks..Good content though

  • @vikrantavishwakarma3281
    @vikrantavishwakarma3281 Год назад

    Hi can you add server side pagination with column filtering

    • @KevinGhadyani
      @KevinGhadyani  Год назад

      What do you mean? For Tanner to add it? With React-Table, you have the power to configure it how you wish.

    • @vikrantavishwakarma3281
      @vikrantavishwakarma3281 Год назад

      @@KevinGhadyani I tried but not getting. Can you refer me any related code

    • @KevinGhadyani
      @KevinGhadyani  Год назад

      I'm not sure, but I've done it in the past. You might be able to ask on StackOverflow.

  • @coderboysobuj
    @coderboysobuj Год назад

    type instantiation is excessively deep and possibly infinite react table 8