Search Filter in React JS with Search Bar in React Example

preview_player
Показать описание

Learn how to apply a search filter in React JS and construct a search bar example in React. When React apps receive API data, we often need to search the data to filter results that match our search.

⭐ Become a full-stack web dev with Zero To Mastery Courses:

Search Filter in React JS with Search Bar Example

(00:00) Intro
(00:20) Welcome
(00:30) Starter code and dependencies
(02:08) Create an axios instance
(04:15) Setting initial state
(06:20) SearchBar component
(13:50) ListPage and Post components
(16:38) Quick debugging
(18:24) Testing the functionality

📚 Tutorial References:
🔗 ES7 React JS Snippets Extension for VS Code:

🔗 React Dev Tools Extension for Chrome:

📚 General React References:

✅ Follow Me:

Was this React Search Filter and Search Bar tutorial helpful? If so, please share. Let me know your thoughts in the comments.

#react #search #filter
Рекомендации по теме
Комментарии
Автор

Great job Dave! Keep it up with these key React functionalities. I have a personal request. I would like you to make a video on Master-Detail pattern. Thanks

nicholasbrown
Автор

great tutorial, you can make the input value debounced, so that you wont make an api call every time you change the input

elabd
Автор

Finally a good searchBar example. Most use/show the searchBar as being the only component that filters through data.

Ptruts
Автор

wonderful tutorial, I thought it'd be more difficult to build but it really was quite simple, thanks

tacosdesuadero
Автор

Great react tutorial! The word attribute is one of those words (like contract) in which emphasis/accent changes depending on the part of speech being used. Accenting the 'a' is a noun and accenting the 'i' is a verb.

KellenBegin
Автор

Great Content Dave
Keep Going, Master 😊

mhdfirassbarakat
Автор

That's exactly what I've been looking for! Thank you a lot!

bkatsevych
Автор

Great content. Absolutely what I needed!!!

andrewaghoghovwia
Автор

thanks for the clear description with clean react code. learning so much from you! 👍

ariffaysal
Автор

great dave make such short videos with specific react features. Thst will be very great

Sudhentertainment
Автор

I really wating for a new course from you about typescript and CI/CD concepts, all your tutorials helpful to much. Thank you a lot.

metadance
Автор

Very nice Dave. My personal recommendation if you can cover test cases as well :)

gmjitendra
Автор

Why did you not use input type=search instead? I believe that's the exact reason that component was made for

Btw if we were to highlight the matching text in resultant posts, how do we implement that?

blackpurple
Автор

Great video. I like the way you explain things.

OneworldKW
Автор

It would be great from you to show how to search, filter and highlight results of posts from api. Thank you!

biLLie_wiLLie
Автор

I've just created one of these myself. I wonder how different the code will be 🙂 (Dave the Pro, Simon the Newbie). Will update you later.

simonedwards
Автор

Do you know what should I change to see all the data from the API when not searching?

mileadavid
Автор

High quality tutorial as usual. Thanks Dave!

ucNguyen-qzlf
Автор

Hi brother you're so great please use try catch instead of .then catch thankyou

gokulpradap
Автор

Please make tutorials for unit testing and redux connect as well.

DineshVutukuru