Search Bar in React Tutorial - Cool Search Filter Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

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

  • @sanntu9617
    @sanntu9617 3 ปีที่แล้ว +45

    It's not just the patience:
    - The baby steps explanation,
    - how well explained it is,
    - and the complete closure of the project/example.
    You're a beast Pedro!
    Thank you so much for share. Keep it up! 💪

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

      AND the most importent things of all..
      he doesnt have an indian accent!

    • @BaBa-pf3ol
      @BaBa-pf3ol 2 ปีที่แล้ว

      @@danielekslin3155 ok 'importent' lol then just go watch cn if it's the most important aspect for you.

  • @heintsi89
    @heintsi89 3 ปีที่แล้ว +8

    This tutorial was just so amazing and it was told in a way one could understand easily. Implemented this to our school group project which uses "real" backend to fetch data from, so it helped us a lot!

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

    This is the first tutorial I actually felt like I have followed.
    thank you for taking the time to be so detailed for us!

  • @growthhacking9126
    @growthhacking9126 3 ปีที่แล้ว +10

    Pedro my bro,
    Thank you for creating React projects.
    It is helping so many people including me on learning react.
    Hope to see more React projects soon.
    The only reason why I subscribed was you usually cover only one particular niche ie. React js.

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

      I love making react projects for videos. Let me know anything in particular you want to see :)

  • @SvetaSveta-ms4hi
    @SvetaSveta-ms4hi 3 ปีที่แล้ว +7

    That's so dope! You're killing it, man. I'm lovin' it 💛

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

    I love your rhythm of teaching pedagogy.

  • @dayanandab.n3814
    @dayanandab.n3814 2 ปีที่แล้ว +1

    you have so much patience to teach us step by step. Thanks a ton to you..
    This search design I am using on my new project.

  • @kumarmantosh7262.official
    @kumarmantosh7262.official ปีที่แล้ว

    Very supported video.. I am Indian. I watched a two video 1) //Search Bar in React Tutorial - Cool Search Filter Tutorial
    2) //React Chat application

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

    This tutorial literally just saved myself and my teammates project. Thank you

  • @luciidlou
    @luciidlou 3 ปีที่แล้ว +4

    Tremendous walkthrough!! Thank you so much for taking the time to put this together! :D

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

    I'm surprised you only have 69k subs. You deserve a lot more! You are a lifesaver, thank you for the helpful videos.

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

    Cara, é incrível esse conteúdo que você cria. Simplesmente ótima didática e a forma de ensinar é simples e objetiva. Seu inglês é perfeito cara! Você me serve como inspiração. Obrigado novamente pelo conteúdo!

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

    Recently addicted to u r channel,while i'm searching to learn a React js in YOU TUBE

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

    The search bar results appear to be present even when they are hidden, resulting in the user not being able to click on anything like buttons where the results would be. Does anyone know how to fix this?

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

    Sir you are really the best i have been battling with this for weeks and now its working 😊

  • @idan5930
    @idan5930 3 ปีที่แล้ว +1

    Thank you so much!
    Would it be the same if I get the data from a database instead of a JSON file? I wanna create a user search bar, wouldn't it be inefficient to get each user every single time a user refreshes the page?

  • @islamic-videos2024
    @islamic-videos2024 5 หลายเดือนก่อน

    thank you it was helpful

  • @vikasni95
    @vikasni95 3 ปีที่แล้ว +5

    Tquu brother, This video helped me in many ways 😊👍

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

    Fantastic!!! the explanation is smart and well put together that even someone fairly new to this can understand. I'll say it again: "Fantastic!"

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

    Simple and clear, Thanks Pedro,
    a question that is not related to this video,
    the CSS: do you have any cheatsheet to share with us?
    I can't get it out without googling :(

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +1

      I used to google a lot, but with time you build muscle memory. Understanding flexbox is crucial as well

  • @harpreetsehmi9642
    @harpreetsehmi9642 3 ปีที่แล้ว

    Awesome video brother , i loved it , i watched almost more than 30 videos but i didn't understand what they do . But when i watch your video then my all doubts are cleared . Awesomw video brother ..... keep it upp ................... awesome content and nice explanation

  • @dawoodshahzad9082
    @dawoodshahzad9082 3 ปีที่แล้ว

    My brother I am able to learn react with your tutorials. Your tutorials are worth a lot. God bless you

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

    His channel is underrated according to his content

  • @robmorris5732
    @robmorris5732 3 ปีที่แล้ว +4

    Great video. Be great to see the ref implantation too, and also how you’d write tests for the app with react testing library 😁

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      I love front-end testing! I have a video on RTL but I want to make a new one!

  • @Goutham-bp8cv
    @Goutham-bp8cv ปีที่แล้ว +1

    Great explanation dude

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

    Thank you for this useful tutorial. How about if the user click outside the search bar then the filtered search term will be remove also.

  • @workingfromhomemusic6832
    @workingfromhomemusic6832 3 ปีที่แล้ว

    you deserve a medal, pal

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

    Brilliant react tutorial!!!

  • @dragosp.7635
    @dragosp.7635 2 ปีที่แล้ว

    You're just a god! Saved my life.

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

    Thank you Pedro. Amazing tutorial. Everything worked perfectly! The only thing is I'm using input.length instead of filteredData.length. That way when we type gibberish into search bar we can still delete it using the X icon

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

    Great tutorial, excellent video, I have a question about how the same project could be created but with a database like supabase for example. Thank you

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

    hello thank you for your video it helped me to progress, I wanted to know, how to remove the dataResult div when you click outside the input? Thanks very much!

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

    Hello.
    hanks for this, it helped me a lot. But if I want to search in the whole data file on all words and not only the title. What should I change in the code? For example if I search India I want all books written in Indian language and all books about India.

  • @Simon-kj7on
    @Simon-kj7on 2 ปีที่แล้ว

    Hey Pedro, is there any option to connect this search with Firestore? Thank you.

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

    Thank you for the awesome video. One thing I don't fully understand is the purpose of declaring the constant of "searchWord", is it to adjust the delay issue of wordEntered inside the handleFilter function? I don't really understand how the delay happens but i do notice when i tried to console.log it ..

  • @elionaimelo7
    @elionaimelo7 3 ปีที่แล้ว +4

    Pedro, teu curso tem legenda em pt-br? Já tentou colocá-lo tbm na udemy?

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      TH-cam não permiti legenda automatica que nem fazia antigamente, por isso não tem legenda em portugues. Ja pensei, mas to com dificuldade de achar tempo no momento pra gravar o curso kkkkkkk

    • @elionaimelo7
      @elionaimelo7 3 ปีที่แล้ว

      @@PedroTechnologies Perguntei do seu curos na plataforma codedamn. Não desses vídeos do youtube. rs

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว

      @@elionaimelo7 ahhhh kkkkkkkkk não botei na udemy nao. Eu qro fazer um curso melhorado pra udemy, gosto mt do que esta na codedamn mas qro fazer um melhor.

    • @elionaimelo7
      @elionaimelo7 3 ปีที่แล้ว

      @@PedroTechnologies Show! Fico no aguardo! Parabéns pelos vídeos, man! Sucesso!

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

    Hey Pedro if I wanted to go about adding an enter functionality to the search like if I type something and hit enter it does the search how would I do that?

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

    You are awesome 🤩, Subscribed 🔥

  • @ducdominh9390
    @ducdominh9390 6 หลายเดือนก่อน

    what if i want to click outside of the search result and it will close down but the input still remains, what logical should i implement

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

    How can I create a dynamic search? like first having a dropdown, choosing a language, then getting all the books in that chosen language in the search box?

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

    How to select the values from dropdown and put in the search bar in your program?

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

    very useful, thanks Pedro

  • @ThColinPereira
    @ThColinPereira 3 ปีที่แล้ว +1

    Great video Pedro!

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

    What if you want to display something (maybe a message) when there are no results for the search?

  • @sundar1956
    @sundar1956 3 ปีที่แล้ว +1

    You are awesome 🙏 . Please keep on doing these kind of react tutorials .

  • @JJ-ot3ps
    @JJ-ot3ps 2 ปีที่แล้ว

    this is nice, but sometimes a search bar , when user just click it without typing anything, the search bar will show recommended stuff in the window below the bar.... how to do that just curious

  • @aliozeir708
    @aliozeir708 3 ปีที่แล้ว

    Unbelievable from you man. Great video.

  • @nishantagrawal6244
    @nishantagrawal6244 3 ปีที่แล้ว +3

    Amazing. Thanks a ton man for such masterpiece :)

  • @thinkkingg
    @thinkkingg 3 ปีที่แล้ว +1

    fantastic sir, helped alot

  • @ivanbozveliev5335
    @ivanbozveliev5335 3 ปีที่แล้ว

    Hello, thanks for this search bar, it's so great. but i have a problem with the drop down menu when it goes down, my search bar just jumps up. How to fix it ? Thank you

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

    easy to follow, thanks!

  • @khandoor7228
    @khandoor7228 3 ปีที่แล้ว +1

    really nice i can definitely use this. Thanks Pedro!

  • @grigormargaryan7582
    @grigormargaryan7582 3 ปีที่แล้ว

    Module not found:
    Can't resolve '@material-ui/icons/Close' in ...
    any help ,how can i download the module?

  • @FaTima-lr8yf
    @FaTima-lr8yf 2 ปีที่แล้ว

    Hey, thanks for the tutorial. I'm trying to use the same code with an actual database, I'm wondering what should i passe as 'data' in this line " " in app.js

  • @imacoder7122
    @imacoder7122 3 ปีที่แล้ว +1

    You are just awesome👏. Thanks and best wishes..

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

    Best tutorial, really help me

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

    Create a Search bar where user can type a keyword and show the matching result in a table
    name , url , thumbnail, series
    things we will be observing is your coding standards in HTML,CSS and React skills

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

      This video is helped or not???? Please reply me

  • @rahil-aliyev
    @rahil-aliyev 3 ปีที่แล้ว +1

    Thanks man, It's very useful video

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

    Thank you so much for your great explanation! I appreciate it a lot! ♥♥♥

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

    Hi, may i know how to apply this search bar into existing navbar page?

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

    Incredibly helpful 👍

  • @AibekToroev
    @AibekToroev 3 ปีที่แล้ว

    Thank you so much! I've learned so many new things from your tutorial...

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

    Thanks sir you really helped me.

  • @marypaul9627
    @marypaul9627 3 ปีที่แล้ว

    Hi Pedro thanks for good job,i have implemented step by tsep and its working but mine when i click the title i dont have a link am using database i want to navigate to the description of the book how do i do that?you have href point to a link but me i want descriptiontahts from db how do i do this pls?

  • @sukanyadas4981
    @sukanyadas4981 3 ปีที่แล้ว

    Loved the tutorial. Thanks a load!!

  • @santiagoyeomans
    @santiagoyeomans 3 ปีที่แล้ว +1

    Very helpful tutorial, thank you!

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

    thanks! was very easy to understand. 😁

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

    This is so good! Thank you so much for creating this.

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

    Thanks for the video, but I don't know why nothing happens when i type in just one letter until i type the second letter.

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

    What if I'm sending requests to an API and I want to wait for the user to stop typing before I send the request?

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

    Thank you so much!, was just so amazing and it was told in a way one could understand easily

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

    You helped alot!! Thanks

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

    Very informative video thanks for sharing knowledge with us..

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

    amazing tutorial buddy... helped me alot.. great job!!😀

  • @anandls1
    @anandls1 3 ปีที่แล้ว

    Great video thanks man. New sub. Have you done anything with Webrtc and video?

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

    👍👍👍 amazing tutorial.

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

    Amazing, thank you so much for this!!!

  • @devtawhid
    @devtawhid 3 ปีที่แล้ว

    thank you so much. this video is helped me a lot.

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

    Can I make it with HTML (not app.js)??? if can but how? please tell me❤

  • @blockanese3225
    @blockanese3225 3 ปีที่แล้ว

    Pedro, love the videos, really really helpful. Did you ever make a video on password resets?

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

    Thanks for the video! thats very good and help me to solve on my web

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

    where's tho form tho? Generally there's a form that takes you to the search page if you hit enter or click the icon

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

    I'm having trouble with my icon. Some how it's stuck on the left 😅 not inside the search bar :/

  • @abhaytiwari6411
    @abhaytiwari6411 3 ปีที่แล้ว +1

    Great work 👏👏👏

  • @mohakmaheshwari8756
    @mohakmaheshwari8756 3 ปีที่แล้ว

    Hello Pedro this tutorial was dope...I have one query how to copy text to field when we do up down using arrow keys ?
    Hope you'll reply

    • @fahmichaabane5925
      @fahmichaabane5925 3 ปีที่แล้ว

      it ain't possible in this case cuz he's using divs element and not native select menu

  • @DhiniIndria
    @DhiniIndria 3 ปีที่แล้ว

    Nice tutorial. Thnks a lot , helpd me so much !
    btw how if i will get data from axios? thank u .

  • @soulfibre6695
    @soulfibre6695 6 หลายเดือนก่อน

    Thank you, sir!

  • @coderslav4505
    @coderslav4505 3 ปีที่แล้ว

    Nice Tuto, Man! Thx a lot!
    But, imho, to switching to the Search/Close image, it is better to use a new State Hook :)

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

    can you display the result downside of dropdown ?

  • @champ7087
    @champ7087 3 ปีที่แล้ว

    How can I display a message if the map function is empty?

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

    How can I close the search results when I click outside

  • @adad8795
    @adad8795 3 ปีที่แล้ว

    #subscribed ! Keep posting such awesome tuts 🙌

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

    Amazing tutorial!

  • @GokulKuber
    @GokulKuber 3 ปีที่แล้ว +1

    Superb 👍

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

    sir how to filter on the basis of a long text like that of in stackoverflow which returns most relevant results based in the long text query.....
    like that of stackoverflow u can assume it
    i can't find this on entire yt 😐
    would be very pleased if u could even provide me a link to a article or reference

  • @msookun
    @msookun 4 หลายเดือนก่อน

    The new mui isn't working with the css file.

  • @saisravanth2821
    @saisravanth2821 3 ปีที่แล้ว

    Thanks a lot it really helps alot

  • @wictortec5627
    @wictortec5627 3 ปีที่แล้ว

    Amazing video ! Thanks

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

    This tutorial implies that the searchBar component is the only one that does the rendering, which is not the case for a real website where you use different components on a page.

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

    Thank you!! ❤