Search Filter in React JS - Filter Through Results
HTML-код
- Опубликовано: 27 июл 2022
- In this video we build out live search functionality using the filter method, map method, and some react state. We import data from "Mockaroo" which is a pretty cool platform that allows you to draft up mock data for use while building applications. We save the data in to a "data.js" file, but it can simulate getting data back from an API (minus the API call in this case). Thanks for watching!
❤️ Support the Channel
www.buymeacoffee.com/clintbriley
Instagram 💪
/ fireclint
Github Repo
github.com/fireclint/filter-c...
Mock Data
www.mockaroo.com/ - Наука
my bro here just accomplished what I've been struggling with for a whole month in 8 minutes what a pro
Literally I watched 5 other videos trying to understand how to render the list filtering the data and they made it look so difficult! You were way clearer my friend! Thanks so much!
thank you so much for this! really helpful and straightforward. exactly what I needed for a project!
this just solved the problem I had for the last 8 months. Thank you so so much! you dont know how much I appreciate this help
Every video you make is so helpful
The most simplest and easy to understand tutorial. Keep making awesome tutorials like this.
You are behind my success with react and being a web developer.
Thanks again bro.
Thank you Joseph!!
Hey Colin I'm grateful for your content. Keeps improving my js skills. Please a typescript tutorial will come in handy
Thank you dude! Typescript coming soon
Thank you, sir. I was able to incorporate filtering into my project within a few minutes.
Wow literally took me 3 minutes to apply what shown on the video, great job¡
Clean & Clear mate, thanks ❤
Very succinct video! As always I enjoy your content. I'm excited for the typescript video!
Thank you Monique :)
Thank you so much man, I've learned a lot from this video.
Thanks your video made me to understand how filter really works!
Best Coding Tutorial Voice I have encountered so far.
Thank you dude
Very good Explanation! 👍
Wow, I wrote so much code to achieve the same result, well done and thank you for this solution 😁
Thank you very much for this video! 💯
just what i was looking for, thank you
I don't know how you're being slept on.
You're my best react teacher on here💯
Haha thank you Nana!
thanks for this video, easy and fast,
greetings from Argentina
Thank you very much for this concise and straightforward tutorial. its so easy to grasp
Glad it was helpful!
thank you so much for this, I'm grateful for you
That was great! Thank you so much
Thank man it was so helpful and easy ❤
I am somewhat new and was just wondering, will this not be slow? Or is this the best way how it is done? Apart from server side fetching. Will it be ok with thousands of items?
Great work mate, too easy!
Thanks leonel!
that .includes() is a game changer thanks for the knowledge
Thank you!
Thanks man this video was useful!
just wanted to ask im on windows and vscode doesn't autoformats code in js when i save the data what do i need to do?
I used this search method while developing my project, it was much better, you are great
Glad it helped! 🙏
Brilliant video, thank you!
I Check so many videos but don't understand.this video so comfortable and understand ❤ thanku
Thank you- much appreciated!
Your vedio made my life easy❤
How did you convert the json data to normal object data inside the Vs code? struggling with that for days
how about pagination? if we implement pagination, does it only filter the first 'n' data ?
Thanks for the tutorial, Brilliant Video!
Thank you sir!
how to handle if my form in different component like input tag search bar is there in navbar component and my data is in product component?
i have a question, i want to have my search bar in my header but how do i pass the state from the header to the app.jsx?
Thanks a lot, indeed benefited. Nairobi, Kenya
Thank you for your tutorial! Would be pleased to know if i've seperated the SearchBar & CustomerTable, how can i access the search value of useState in SearchBar.jsx in CustomerTable filter( )?
just simple and perfect. thanks
You're welcome!
One of the most easiest video I have ever seen
Good stuff that every beginner should know as searching through data is a vital part of many projects out there. Just to be sure, if I want to search according to various parameters, not just the first name, I'll chain the filter functions like you showed in the Filter Method video?
This is EXACTLY what I need to do!
Really ur great.. i tried with many videos but ur videos awesome man
Thank you my friend!
Thanks a lot..u save lot of time ❤❤❤❤..love from India
I subscribed u
Thank you very much just what i needed
Thank you!
I wonder why after filter I can not use onCLick on filtered items,
Nice video. Mockaroo seems to be a great tool, gonna make my next project using it! Thanks!
I use it all the time!
thanks that was a great little trick i did had an idead how to do it but u made it simpler for me. thanks a lot LOVE from INDIA
Awesome man!
Awesome as always 🔥🔥
Thank you Christian! 🔥
Great video, thanks.
I feel like very comfortable in search filter. after watching this
Great video!
thanks, it helped me save more time
Thanks a lot man !
Bro, Thank you so much. Subscribed
Thanks Vimal!
it's so helpful, thanks man
Thank you!
Thanks for this info, still util !
How can I have the same result considering that my search input is a separated component?
Thank you very much, it helped me a lot for a requirement
Thank you Emerson!
thanku so much upload this vidoe it's really hlep me
Very helpful:) thanks
Hey. Yet again, great video. If I also want to filter by another param such as.. email. Syntax wise, how would you go about this - if we want to filter by not only name but more?
sir if u search with upprcase letters than it won't show anything....so can u help with that
Awesome sir very nice explain
Very helpful tutorial. Many thanks
Thanks man!
Really helpful for my project. Thanks😁😁
Thanks dude!
Thank you so much for the great content .
Thank you Henry! 🙏
Very thankful video
Perfect job
Life saver, thank you
Hi, I wanna ask, what if our search bar is in another functional component? do we need to pass the onchange function to parent component and then drill the keyword props to the table component?
Thanks I found out the answer
Thank you
You are just awesome 😊😊😊
Thank you so much
hey thanks for the video !
but what if we want't that filter on email and phoneNumber too ? how should we say that ?
Awesome content bro! 🔥
Thank you dude!
Thank you very much
Thanks bro!
It was brilliant bro thanks a lot ❤
Thank you dude! 💪
can we use date filter like from range to range??
very good . thank you
great video sir
Great video
It's much easier than I thought. I thought making a search filter would be complex. Thanks for sharing ❤.
Debunking the complex stuff!! Thank you Shahid!
I searched a search filter video for so long today only i got an awesome sause video man ,thanks for that 👏🔥🔥🔥
Thanks mahn🎉
Thank you so muchhhhhh
Is it possible to do that using useRef rather than useState?
gr8 video, but how about last name, email, phone searching? is it possible to search simultaneously whenever I typed once?
thank you!!!!!!!
grand merci à vous! +1 abonné😊💯
thank you
Hi Clint, can it also be done by using the react props?
PS: another great video! can't wait for the next one :)
Hi Blazer, I kept everything in the App component, but yes!
Thanxxx man...
Cool thanks
nice content
Thank You very much Sir
Thank you!