Implement Search, Sort, Filter & Pagination using JSON Server in React

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Hello Everyone, in this video we are going to see how we can implement searching. sorting, filterning & pagination feature with the help of JSON Server in our React App.
    My Social Media Link
    Facebook Page:- / kodewithvishal
    Instagram:- / code_withvishal
    You can get the full source code from here:- ko-fi.com/s/55... or www.buymeacoff...
    You can also support me through this way as well :- www.buymeacoff...
    Please subscribe this channel for more awesome video on React & Redux Concept

ความคิดเห็น • 66

  • @codewithvishal2968
    @codewithvishal2968  2 ปีที่แล้ว +2

    You can get the full source code from here:- ko-fi.com/s/550fc8dced or www.buymeacoffee.com/CodeWithVishal/e/52222

  • @learncode5110
    @learncode5110 ปีที่แล้ว +2

    Bro I have 2 concerns in this project
    1. In No column even after doing next why the numbers are showing the same 1 to 4 its not changing
    2. Do next and then search even after searching one text its showing 2

  • @johnhenrychibueze3645
    @johnhenrychibueze3645 2 ปีที่แล้ว +2

    thanks a lot for the video, i have faced a problem when i use an actual backend API instead of the JSON server all the features such as pagination, filter, search and sort are no working, what can i do sir?

  • @shakhzodjumaev3586
    @shakhzodjumaev3586 ปีที่แล้ว

    ع تعيش اشة غخخسا خغهتخى ساشءئخي تخخى لاع خغهتخى ضخساه ضشمشى ضخسا لاع خغهتخى ةثى عىه سثرشةشى خغهتخى

  • @gharbaindev311
    @gharbaindev311 ปีที่แล้ว

    you have only 11k subs and your sources codes are paid this is a big fail do it when you have at least 250k of course I'm not going to paid in every video, millions of video like this one and for free

  • @viniciusm.m.7822
    @viniciusm.m.7822 2 ปีที่แล้ว +2

    THANKS, man!
    Deus abençoe você!

  • @chiruvanapalli
    @chiruvanapalli 2 ปีที่แล้ว +1

    awesome boss, there is a small mistake when click next button index number is showing again from 1st for 5th row.

  • @vinaychaurasiya2060
    @vinaychaurasiya2060 ปีที่แล้ว

    It seems like you are only copying the code from somewhere. It's doesn't matter anyone understanding or not your logic and code

  • @kirandhapodkar3233
    @kirandhapodkar3233 ปีที่แล้ว

    How do I get filtered values or filtered counts from an MUI datagrid?

  • @tomasburian6550
    @tomasburian6550 5 หลายเดือนก่อน

    This is a fantastic tutorial. Very useful for the real world practice!

  • @rrkrockstarraja3425
    @rrkrockstarraja3425 2 ปีที่แล้ว

    once receive data once receive data from server will use where ever you want to share the data. for exm... 1. input search,2.sort.3..?. try simply way

  • @zitansalehin3515
    @zitansalehin3515 11 หลายเดือนก่อน

    Vishal you are great, keep going, just need to apply some strategy to get more viewers ❤

  • @supershinobi7892
    @supershinobi7892 ปีที่แล้ว

    you wasting too much in designing part skip that and get on the logic

  • @ramvvram
    @ramvvram 9 หลายเดือนก่อน

    Hi can get data centralise then the data pass to pagination its make less code I think i am not sure thankyou for your Great tutorial

  • @ravi1341975
    @ravi1341975 2 ปีที่แล้ว +2

    Hi Vishal,i'm stuck with this error,Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
    1. You might have mismatching versions of React and the renderer (such as React DOM)
    2. You might be breaking the Rules of Hooks
    3. You might have more than one copy of React in the same app

    • @codewithvishal2968
      @codewithvishal2968  2 ปีที่แล้ว

      u might using hook outside the component

    • @ravi1341975
      @ravi1341975 2 ปีที่แล้ว +1

      if use it works fine,but when i use with {/* handleReset()} >
      Reset
      */} It throws error.

  • @mdjuwelrana8621
    @mdjuwelrana8621 2 ปีที่แล้ว

    know what they tNice tutorialnk, and hopefully give so pointers. Thank you!

  • @wilmerpocaterrasulbaran9600
    @wilmerpocaterrasulbaran9600 ปีที่แล้ว

    thanks friend you have been very helpful

  • @showrovdev
    @showrovdev ปีที่แล้ว

    BUNCH OF THANKS Brother for this amazing detailed video.
    subscription done ...

  • @baba_yaga9
    @baba_yaga9 ปีที่แล้ว

    dislike for source code cheapness

  • @itsnitinks
    @itsnitinks 2 ปีที่แล้ว

    How to filter sort normally, without json server,.

  • @sindhuraa2196
    @sindhuraa2196 2 ปีที่แล้ว

    My requirement is to search from two columns is that possible? Please reply

  • @guneswarpothureddy5667
    @guneswarpothureddy5667 2 ปีที่แล้ว

    Hi vishal can video on redux pagination with json/fakeapi

  • @elhambgh
    @elhambgh ปีที่แล้ว

    Thank you so much for your video and sharing your knowledge

  • @basithussain3083
    @basithussain3083 2 ปีที่แล้ว

    When you go to page 2, it starts counting with id 1.
    How can we solve this problem? When we go to page 2, it starts counting from 4.
    Thank you

  • @cristianotero588
    @cristianotero588 2 ปีที่แล้ว

    you have somes problem with you code, in a JASON that have more that 16 items it onliy read until 16 and if you want show a number of items difrent to 4 need change the prev and next logic in many code lines, it is tedious to maintain, also you may separate all in difrent component,dont teach spaghetti code bro, bless

    • @codewithvishal2968
      @codewithvishal2968  2 ปีที่แล้ว

      I have implemented a basic pagination with JSON. If no. of item change then logic will change. Not possible to cover everything in single video. I could do all these thing without json server but video topic was on json server that's why u might feel some thing missing.

  • @dharmeshgohil9375
    @dharmeshgohil9375 2 ปีที่แล้ว

    one request how to check net connection is available or not when web start use this component i need it

  • @vikrantavishwakarma3281
    @vikrantavishwakarma3281 ปีที่แล้ว

    Can you add react table (hook) server side pagination with each column filtering ?

  • @potteranh6371
    @potteranh6371 ปีที่แล้ว

  • @rekhak3862
    @rekhak3862 2 ปีที่แล้ว

    mdd-react-ui-kit not installing with react v18 plz help

  • @momokee2394
    @momokee2394 ปีที่แล้ว

    Thank you

  • @harrykang4956
    @harrykang4956 2 ปีที่แล้ว

    Thank you for sharing your knowledge...

  • @shubhammane2373
    @shubhammane2373 2 ปีที่แล้ว

    22.57

  • @avinashparakhiya
    @avinashparakhiya 2 ปีที่แล้ว

    #CodeWithHarry

  • @tientainguyen3105
    @tientainguyen3105 2 ปีที่แล้ว

    thank pro so much

  • @rekhak3129
    @rekhak3129 2 ปีที่แล้ว

    Men UI kit not installing with React v18
    Please help me

  • @harrykang4956
    @harrykang4956 2 ปีที่แล้ว

    ❤️❤️ thanks Bhai

  • @rekhak3129
    @rekhak3129 2 ปีที่แล้ว

    Mdb ui kit

  • @shivakrishna1227
    @shivakrishna1227 ปีที่แล้ว

    Hi Bro,
    when page loads, data is loading twice. For the first time data is getting empty, for the second time data is getting loaded. Due to this, data in the table is not getting rendered and getting error.

    • @reactworld8323
      @reactworld8323 10 หลายเดือนก่อน

      use big bracket in setvalue

  • @muhammadaqeel1044
    @muhammadaqeel1044 ปีที่แล้ว

    Nice

  • @sulemanahsan7913
    @sulemanahsan7913 2 ปีที่แล้ว

    I'm not getting url endpoints that you provide in every request like ?sort= & _order= how you set these kindly explain a bit ?

    • @codewithvishal2968
      @codewithvishal2968  2 ปีที่แล้ว +1

      You might have forget something during combining all request in common function.

  • @rekhak3862
    @rekhak3862 2 ปีที่แล้ว

    Thanks a lot it got install.

  • @harrykang4956
    @harrykang4956 2 ปีที่แล้ว

    It is much precious ❤️

  • @kanakaraju7655
    @kanakaraju7655 ปีที่แล้ว

    Love it

  • @kalpeshwani231
    @kalpeshwani231 2 ปีที่แล้ว

    Sir please make this functionality using node js , express js ,and MongoDb and react js

  • @dharmeshgohil9375
    @dharmeshgohil9375 2 ปีที่แล้ว

    like it bro

  • @kiva1823
    @kiva1823 2 ปีที่แล้ว

    Awesome bro

  • @JohnWick-wn2ck
    @JohnWick-wn2ck 2 ปีที่แล้ว

    I m following step by step this video but
    Sort is not implemented

    • @codewithvishal2968
      @codewithvishal2968  2 ปีที่แล้ว

      check the sort json url, might be issue with that one

    • @Entertainment_worldz
      @Entertainment_worldz 2 ปีที่แล้ว

      i am getting the same error did you resolved it

    • @venkateshk4715
      @venkateshk4715 2 ปีที่แล้ว

      @@codewithvishal2968 one small error
      sortFilterValue is missing in renderPagination()

    • @venkateshk4715
      @venkateshk4715 2 ปีที่แล้ว

      @@Entertainment_worldz sortFilterValue is missing in renderPagination(), if you add it sort is working

  • @numericalwallah9174
    @numericalwallah9174 2 ปีที่แล้ว

    My sorting is implemented but filter not

    • @numericalwallah9174
      @numericalwallah9174 2 ปีที่แล้ว

      Done i wrote status and and i used department there