Custom React Table With Filter and Sorting - No Libraries

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 19

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  4 місяці тому

    WATCH NEXT: React Interview Questions and Answers - Dominate Your Next Interview - ua-cam.com/video/yQHr4opz_N0/v-deo.htmlsi=51b2XP_84GH3q6oF

  • @ahsanahmed800
    @ahsanahmed800 2 роки тому +1

    Your are doing very good work.
    love from Bangladesh ....🙂🙂🙂

  • @zoki5388
    @zoki5388 2 роки тому

    Thanks for this video, I've requested it few weeks ago.💚

  • @kenzafilali9115
    @kenzafilali9115 Рік тому

    hello is there any way to apply the sort on every column when we don't use an api simply when we are working on frontend thanks

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому

      Instead of API call you just need to sort your data on the client with array sort of something similar

  • @hadricheaymen91
    @hadricheaymen91 Рік тому +1

    I have a problem. search bar dosn't let me type

  • @GeraldOfori-pr3zt
    @GeraldOfori-pr3zt 8 місяців тому +1

    Thanks for this video. which editor how you using?? it is confusing to watch tutorials on.

  • @denisdezest9599
    @denisdezest9599 Рік тому

    Great video as always 😉
    Just wondering if we may directly pass the parent state searchValue and related setter to the SearchBar component. This way the parent holds the state and related logic, and SearchBar does not need its own state.
    Thanks again for your videos and keep up the good work 🙏

  • @disgracefulsense7882
    @disgracefulsense7882 2 роки тому

    Почему вы не сохраняете параметры фильтров в урле? Можно подробнее узнать, когда их сохранять, а когда не нужно

  • @Dclap1
    @Dclap1 Рік тому

    muchas gracias :D

  • @toohee8561
    @toohee8561 Рік тому

    Better to use .filter function rather than API directly, more fluid and more reactive

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому +1

      No it's not better. If you have 100k data on backend you don't want to load them at once on the client and filter. It is extremely slow.

  • @kananfarzali1806
    @kananfarzali1806 8 місяців тому

    using json-db is cheating. in real life you won't be able to use it. I wanted to see client-side sorting.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  8 місяців тому +1

      It's not cheating. This is how it is done in all real projects. Client side sorting is useless when you have lots of data so nobody loads all data on the client and sorts it there.