React JS Interview Questions ( Multi Select Search ) - Frontend Machine Coding Interview Experience

Поделиться
HTML-код
  • Опубликовано: 30 июн 2024
  • 🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
    ✨ OdinSchool React Web Development Course. Apply now - hubs.la/Q02hWSFf0
    🟪 Follow me on Instagram for Homework Solution - / roadsidecoder
    ➡️ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder
    React Interview Question on implementing a Multi Select Search Bar feature will be created in this video along with tips and tricks to tackle your React JS and JavaScript Questions in Frontend Machine Coding Interviews.
    👤 Join the RoadsideCoder Community Discord -
    / discord
    🔗 React JS Interview Series -
    • Frontend Machine Codin...
    ➡️ Source Code -
    github.com/piyush-eon/fronten...
    🔗 Debouncing Tutorial -
    • Javascript Interview Q...
    🔗 MERN Stack Chat App Tutorial -
    • MERN Stack Chat App wi...
    🔗 Complete Data Structures and Algorithms with JS Course - • Data Structures and Al...
    🔗 JS Interview Series -
    • Javascript Interview Q...
    🔗 Cars24 Interview Experience -
    • Frontend Interview Exp...
    🔗 Unacademy Interview Experience -
    • Frontend Interview Exp...
    🔗 Tazorpay Interview Experience -
    • Frontend Interview Exp...
    🔗 React Beginner's Project Tutorials -
    • React JS Project Tutor...
    #JavascriptInterview #ReactInterview #ReactJS
    -------------------------------------------------------------------------
    00:00 Intro
    00:48 Setup New React JS App
    02:49 Building Input Field
    04:47 OdinSchool React Bootcamp
    05:58 Styling our Input
    07:16 Fetching User Suggestions
    13:55 Selecting a Suggestion
    15:41 Handling duplicate suggestions
    19:03 Rendering Selected Pills
    24:56 Auto Focus user Input
    25:55 Remove Pills on Backspace
    27:27 Keyboard Navigation (Homework 1)
    28:03 Implement Debouncing (Homework 2)
    -------------------------------------------------------------------------
    ⭐ Support the channel -
    / @roadsidecoder
    Special Thanks to our members -

Комментарии • 66

  • @RoadsideCoder
    @RoadsideCoder  5 месяцев назад

    🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
    🟪 Follow me on Instagram for Homework Solution - instagram.com/roadsidecoder/
    ➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder

    • @arunyadav7467
      @arunyadav7467 5 месяцев назад +1

      more of this type of videos plz

  • @IllIIIIIIllll
    @IllIIIIIIllll 4 месяца назад +5

    I think you are the rare youtuber who teaches react's very important concepts 🙌.

  • @anupkumarjana9002
    @anupkumarjana9002 4 месяца назад +3

    When you said, we will use a set, it made me Subscribe to your channel man! Like a lot of tutorials out there but they missed these small things! Kudos to how you're explaining the thing in simple way!!

  • @thisisarkajitroy
    @thisisarkajitroy 5 месяцев назад +44

    Zepto asked this same question for their frontend SDE-1 role.

    • @AnuMessi10
      @AnuMessi10 5 месяцев назад +3

      I aced that with all the edge cases and added keyboard navigation as well

    • @mujtabakhan4521
      @mujtabakhan4521 5 месяцев назад

      @@AnuMessi10please share your github account

    • @abhishekseth7187
      @abhishekseth7187 5 месяцев назад

      @@AnuMessi10 did you got any reply from them?

    • @trivedi2690
      @trivedi2690 5 месяцев назад

      @@AnuMessi10 can we use tailwindcss in interview ?

    • @thevasupodcast4561
      @thevasupodcast4561 5 месяцев назад +1

      Bhai submit krne ke baad. Kuch reply hi ni aaya h? Kisiko aaya?

  • @jatinranpariya1510
    @jatinranpariya1510 5 месяцев назад +1

    Learned something new... Thank you for the amazing videos.

  • @SimPwear84
    @SimPwear84 5 месяцев назад

    Beautifully explained. You're the GOAT

  • @Srijan_Soni
    @Srijan_Soni 5 месяцев назад

    Thank you so much for providing such a quality content for free ❤

  • @devendrapandey4059
    @devendrapandey4059 4 месяца назад

    Thanks bro, learned some senior engineer stuff❤.

  • @RavindraSingh-lp9pl
    @RavindraSingh-lp9pl 5 месяцев назад

    very useful content...we need more such videos.

  • @user-rs9ov6qs7v
    @user-rs9ov6qs7v 4 месяца назад

    Wow, you thought me a lot of staffs and thank you , this is all i can say

  • @storyPlus12
    @storyPlus12 5 месяцев назад

    Thanks for the awesome video.
    Can you please make a video on jwt in mern stack with access and refresh token ?

  • @shubhamtarade
    @shubhamtarade 5 месяцев назад

    This is gem of a content, man 🫡

  • @abhisheknavgan6829
    @abhisheknavgan6829 2 месяца назад

    damn bro that's a great explaination, for the last homework we can create a useEffeect hook along with setTimeout to 4-5 milliseconds and only when the user stopes typing for more than that timeout well make the API call, and we also have to remove that setTimeout using cleanup function.

  • @rathinaboopathi9103
    @rathinaboopathi9103 5 месяцев назад

    Can you make video on making an admin panel?
    Whether it can be accomplished in single route with states or needs to have multiple routes for each tab?
    This could be a good video

  • @pranav6032
    @pranav6032 4 месяца назад

    awesome stuff bro thankyou👍

  • @jahangirkhan3747
    @jahangirkhan3747 5 месяцев назад

    Great tutorial brother ❤️👍

  • @trivedi2690
    @trivedi2690 5 месяцев назад

    can we use taliwndcss also in machine coding round , native css is some what hard to write

  • @arunyadav7467
    @arunyadav7467 5 месяцев назад +1

    more of this type of videos

  • @aqibmalik6313
    @aqibmalik6313 5 месяцев назад

    keep it coming 😍😍😍😋😋😋

  • @usmanmarkaz
    @usmanmarkaz 5 месяцев назад

    how we rollback API response if it not hit or in case of bad status

  • @yashsolanki069
    @yashsolanki069 5 месяцев назад

    For the condition where we do not need already selected option to be displayed, i guess it's better to ask the interviewer if that's the edge case we need to consider. The version i tried to built had the user in list but selecting the same one would not make the user added as pills twice and to do so i used another filter with item! == user.email
    Just before using spreadOperator for setting pilla in array.
    Thanks for the video!
    Great content as always ❤

  • @rayyanabdulwajid7681
    @rayyanabdulwajid7681 5 месяцев назад

    What if they ask to do this in vanilla javascript? Also, if we can do this in vanilla js, can we transfer that knowledge to create the same in Vue js or angular?

  • @rafishaik503
    @rafishaik503 5 месяцев назад +2

    Learned a new thing. Thanks bhai ❤. Also can you explain debouncing for this input search as there are fetch calls for every user input. That's actually is the best thing

    • @RoadsideCoder
      @RoadsideCoder  5 месяцев назад

      I have discussed how to implement that in video from 28:03

    • @rafishaik503
      @rafishaik503 5 месяцев назад

      @@RoadsideCoder Yes, thank you ❤

  • @deep90402
    @deep90402 5 месяцев назад

    Please make video on infinite scrolling

  • @rittiksharma17
    @rittiksharma17 5 месяцев назад

    Zepto asked this question for frontend developer role. Did anyone got reply from them??

  • @dyashwanth9822
    @dyashwanth9822 5 месяцев назад

    Thanks bhai

  • @technicalabhi7683
    @technicalabhi7683 5 месяцев назад

    Nice video

  • @chaitanyasawant776
    @chaitanyasawant776 5 месяцев назад +1

    Can anyone tell me how input shifted when pills got added. Can you tell me the css for it

    • @liftwithamey
      @liftwithamey 5 месяцев назад

      it's because we have rendered the pills before input and if you remove the outline propery on focus on input, you will know how long our input field actually is

  • @saifuislam7515
    @saifuislam7515 5 месяцев назад

    great video

  • @suyashsrivastava3671
    @suyashsrivastava3671 5 месяцев назад +1

    Great Video, Try to some react native content also if possible.

  • @pankajroyals1816
    @pankajroyals1816 5 месяцев назад

    Bhiaya please upload the video for deployment of the NoteZipper project.

    • @RoadsideCoder
      @RoadsideCoder  5 месяцев назад

      ruclips.net/video/aQ_2DMXSNwY/видео.html

  • @BrijeshSingh-dp1ku
    @BrijeshSingh-dp1ku 5 месяцев назад

    What if we use splice instead of filter for removing ?

    • @IllIIIIIIllll
      @IllIIIIIIllll 4 месяца назад

      Splice will effect the original array.

  • @madhubabumalli6034
    @madhubabumalli6034 5 месяцев назад

    @RoadsideCoder try build the calendar from scratch

  • @Radiant--Reels
    @Radiant--Reels 4 месяца назад

    How to use react date picker in typescript. Im getting an error startofweek cannot be imported

    • @nikhilsoni1443
      @nikhilsoni1443 18 дней назад

      import React, { useState } from "react";
      import DatePicker from "react-datepicker";
      import "react-datepicker/dist/react-datepicker.css";
      import { startOfWeek } from "date-fns";
      const App: React.FC = () => {
      const [startDate, setStartDate] = useState(new Date());
      const handleChange = (date: Date | null) => {
      setStartDate(date);
      };
      return (

      Date Picker Example


      );
      };
      export default App;

  • @memesforyou9167
    @memesforyou9167 4 месяца назад +1

    Yeh cheez toh simple react-select use krke bhi kr sakte h hum

  • @nimmanasss
    @nimmanasss 5 месяцев назад +3

    Zepto asked question it is.

  • @samarscript5824
    @samarscript5824 5 месяцев назад

    I came here suspecting that this video would be a multi-step form but it is not. Along with this, let me also tell you that this video is also most important but
    I strongly request you to create a separate video on Multi-Step Forms using ReactJS with Responsive UI from scratch without using any third-party libraries.
    Thank you

  • @shahzaib715
    @shahzaib715 4 месяца назад

    bhai samjh achy sy ajati hay kar b lety hain but during interview ni samjh ati kya krna kesy krna so please uska btyen kesy overcome kren...

    • @AvikNayak_
      @AvikNayak_ 11 дней назад

      i think uska solution yehi hai ki 3-4 bar practice kar le kudse ye banane ki

  • @NoobSoftwareEngineer
    @NoobSoftwareEngineer 5 месяцев назад

    10000 lol

  • @learningjoe1823
    @learningjoe1823 5 месяцев назад

    Can you improve my cv ?
    Should I message you on WhatsApp?

    • @RoadsideCoder
      @RoadsideCoder  5 месяцев назад

      You can book a call with me - topmate.io/roadsidecoder/