React Interview | Frontend Developer | React interview questions 5 to 8 years 2023

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

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

  • @user_abhigupta
    @user_abhigupta Год назад +43

    Hats off to interviewer.....how humbly,he explains all topics

  • @SofiaGoyal
    @SofiaGoyal 9 месяцев назад +8

    For all those who are saying that the questions are fresher level or basic level, may be it missed some deep dive questions, but believe me most of these are still asked to me at like 9 years of experience, so don't underestimate them.

    • @Yuthika2805
      @Yuthika2805 6 месяцев назад

      Can you give some tips for 5years of experience in UI development. Some important topics in react. Iam preparing for the interview. Could you please help me?

    • @Yuthika2805
      @Yuthika2805 6 месяцев назад

      Can you give some tips for 5years of experience in UI development. Some important topics in react. Iam preparing for the interview. Could you please help me?

  • @vasu7370
    @vasu7370 Год назад +18

    Respect to Interviewer 🔥🔥🔥

  • @srinivasnahak3473
    @srinivasnahak3473 Год назад +17

    The interviewer is polite but wrong about certain concepts
    1. Class-based components don't go get converted to functional components and don't go through any extra step rather it's simpler to write functional based component and test that's why we use it.
    2. If you don't pass the empty array to the useEffect it won't run just once but will run for every state change or side effect. This means if we haven't passed the empty array then let's suppose we're changing any state variable onClick event then this useEffect without an empty array will also run which doesn't happen when it has an empty array.

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад +1

      3. Control components are those whose state or props are controlled by the parent component by pass data down to component,
      Uncontrolled components are responsible to control their own state ,don't depend on parent component.

    • @rishikeshwagh392
      @rishikeshwagh392 19 дней назад

      ​@@Dhirajkumar-fb3to It depends on the scenario you are saying it correctly but we can also manage state inside component using react like we do for forms inputs

    • @rishikeshwagh392
      @rishikeshwagh392 19 дней назад

      Yes correct, I think what interviewer trying to say is react internally used react.createElement() function to make it object of js

  • @hritikchaudhary5470
    @hritikchaudhary5470 8 месяцев назад +2

    Interviewer is wrong for useEffect, 14:40

  • @innovation9615
    @innovation9615 4 месяца назад +2

    good one for recall all important concepts

  • @vijaykumar-ps5pq
    @vijaykumar-ps5pq 7 месяцев назад +5

    I have 13 years of experience, huge huge respect to the interviewer

  • @Dhirajkumar-fb3to
    @Dhirajkumar-fb3to 9 месяцев назад +1

    Yeah some time but when i used tailwind CSS that time class through error but some time it's work

  • @bhavanisankar7588
    @bhavanisankar7588 Год назад +3

    such a cool interviewer he is😇😇

  • @srinivasnahak3473
    @srinivasnahak3473 Год назад +1

    Thanks for this insightful video!!

  • @Tiny_shortsHub
    @Tiny_shortsHub Год назад +1

    In the question of useEffect interviewee was correct, basically when we we keep 2nd argument is empty it will only render once after component is loaded, but when we pass nothing as 2nd argument it will run infinite times and when we pass any state or props inside it ,it will run when that state or props will change.

    • @uidevguide
      @uidevguide  Год назад

      👏🏻👏🏻👏🏻

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад +1

      One more concept you can run the cleanup function, in class base component componentWillMount handle ..that before the destroy of component it clean up the things ..like removing eventListern API call cancellation etc .😊

    • @vanajasane4837
      @vanajasane4837 6 месяцев назад

      Yes bro interviewee was correct .

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

    Super, and thank you ❤

  • @mitexz
    @mitexz 3 месяца назад +1

    What the interviewer asked at 9:27 ???? What was the question?

  • @anilkumarpradhan5983
    @anilkumarpradhan5983 Год назад +2

    The interviewer 👌

    • @uidevguide
      @uidevguide  Год назад

      Thank you man 🙏🏻🙏🏻
      Keep learning !!

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

    I wish all the Interviewers are like him❤

  • @sandiacgaming2934
    @sandiacgaming2934 Год назад +1

    As a self-learner as a fresher i can can crack this interview. But 1 or 2 questions were learned from in this video.. thanks for thant❤

    • @uidevguide
      @uidevguide  Год назад +1

      Good to know it was helpful for you .
      Keep learning !!

  • @AkashSingh-xf6bd
    @AkashSingh-xf6bd 6 месяцев назад +1

    Hi Ui Dev Guide
    if we are not going to pass nothing(mean not even a empty array ) in useEffect at that time it will run in every time when we render the page
    Thanks'

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

    I learnt alot from this video, thanks for sharing ❤

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

      Glad you liked it .
      Keep learning!!

  • @Anonymous11175
    @Anonymous11175 Год назад +1

    To use super in class based component, because without super, you can not access this.props in child component

    • @uidevguide
      @uidevguide  Год назад +1

      Hey Nikesh,
      We are following angular here in this video.

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад

      Yeah It's important😂

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

    Good one!

  • @Dhirajkumar-fb3to
    @Dhirajkumar-fb3to 9 месяцев назад

    JSON.PARSE(RES) will not work here you need to do res.json() as the json() have internal method to parse but when you use the upper one it will do like externally which will not work

    • @uidevguide
      @uidevguide  9 месяцев назад

      Thanks dhiraj for you responses

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

    what is child props? Isnt it called children props? 9:27

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

    Interviewer is incorrect when useEffect does not have a dependency array it will run every render, and as i know class components does not get converted to functional components

  • @berndeveloper
    @berndeveloper Год назад +3

    I think I'm tech lead after watching this interview hahaha, some questions were useful though.

  • @syed-muhammad-ali-raza
    @syed-muhammad-ali-raza Месяц назад

    Interviewer 🔥

  • @mayanknagle2655
    @mayanknagle2655 Год назад +2

    Super() - it calls the constructor of parent class. Without using super in constructor it gives reference error. We must use super() before accessing this

    • @just_a_living_being
      @just_a_living_being Год назад +2

      It's not completely true let me explain
      When you call super() from the constructor of the child class then it will call the constructor of the parent class, as you said
      But if you call super() inside any other method/function of child class then it will call the method/function with same name from the parent class

    • @MuhammadAdnan2.0
      @MuhammadAdnan2.0 Год назад

      ​@@just_a_living_beingright ✅️

  • @shivajijadhav2864
    @shivajijadhav2864 11 месяцев назад

    the interviewer 🔥🔥

  • @dreamvallyhasan4807
    @dreamvallyhasan4807 6 месяцев назад

    best of the best Interviewer

  • @subhasismandal4180
    @subhasismandal4180 Год назад +1

    can you list all the questions with proper explanation? it will be helpful for us

    • @uidevguide
      @uidevguide  Год назад +1

      Hey,
      I think you should do it 😦.

    • @satadhi
      @satadhi Год назад

      good one bro ! @@uidevguide

  • @chinmay8361
    @chinmay8361 7 месяцев назад

    perfect interviewer😇

  • @hrishikeshpawar3341
    @hrishikeshpawar3341 Год назад +1

    the questions were very easy

    • @techaddictdude
      @techaddictdude Год назад +1

      Real interview questions are very hard. (that's what she said)

  • @vickyfeb8326
    @vickyfeb8326 Год назад +1

    Your hiring for 5- 8 years exp but he possess only 4.5 years. Is it fine to round off 4.5 as 5 years of exp

    • @uidevguide
      @uidevguide  Год назад +1

      If you are good then your experience less 5 6 months not matter.
      By the way this is mock interview.
      He was not sure about technical interview.
      We have taken his interview and shared tue feedback with him.

    • @soumyaranjan6946
      @soumyaranjan6946 Год назад

      Don't you think the level of questions are little low considering his interview

  • @TheNikhilify
    @TheNikhilify 10 месяцев назад

    I got this question in fresher internship interview. You're asking to 5 years experienced person

    • @uidevguide
      @uidevguide  10 месяцев назад

      Great you replied did you get internship then ?

    • @TheNikhilify
      @TheNikhilify 10 месяцев назад

      @@uidevguide sadly no. That's why I am watching videos and upgrading my knowledge. I wish I had watched this earlier.

    • @uidevguide
      @uidevguide  10 месяцев назад

      @@TheNikhilify let me know you need any help ping me on Instagram

    • @TheNikhilify
      @TheNikhilify 10 месяцев назад

      @@uidevguide sure thank you

  • @jaafarswlaiman3761
    @jaafarswlaiman3761 Год назад +6

    I think your experience is one year

  • @432aniketkadam4
    @432aniketkadam4 9 месяцев назад

    why I feel like candidate lies in resume 😆😆 even fresher can crack this interview with better answers.

  • @MessiLeo2312
    @MessiLeo2312 Год назад

    I almost give the 95% answer with good example and I'm a fresher...can I'm ready for interview

    • @nitinakuch4973
      @nitinakuch4973 Год назад

      These are fresher-level questions.

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад

      There is few more questions you need know.. But when you go for exp interview they ask on base of scenerios ... Answer yahi sab rhte h but wo wahi bta sakta h jisne usper work kiya h to experince is matter bro..

  • @thstatusgems
    @thstatusgems Год назад +1

    I was being asked tougher questions than these for 1.5 year exp.

    • @shahidnewlearner587
      @shahidnewlearner587 Год назад +2

      What was those tougher questions, can u elaborate shortly?

  • @s-qc9ns
    @s-qc9ns 10 дней назад

    I think this is a mock interview and not a real interview. U shd specify that.

  • @Dhirajkumar-fb3to
    @Dhirajkumar-fb3to 9 месяцев назад

    There is many lib that can you use for calling an api javascript default use fetch, axios good choice , SWR Have also inbuilt fetch .. Basically combo of useEffect and api call save cache. Fast

  • @aksh1453
    @aksh1453 Год назад +3

    These questions seems like for freshers...

    • @uidevguide
      @uidevguide  Год назад +2

      😀😀 buddy you are ready then for interview

  • @darkDay9211
    @darkDay9211 Год назад +1

    UseEffect the person is correct interviewer is wrong

  • @kazimmehdisaiyad6714
    @kazimmehdisaiyad6714 10 месяцев назад

    i have almost 2 years of experience as a react developer but this are very basic question to be honest

    • @uidevguide
      @uidevguide  10 месяцев назад

      Hey can you please post some difficult questions you faced in interview here.
      That would be great

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад

      What type of internal operation does the setFunction(useState) use async or sync

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад

      Also you can ask that how javascript is diff from JAVA

    • @Dhirajkumar-fb3to
      @Dhirajkumar-fb3to 9 месяцев назад

      Why var have only the hoisting behaviour... Also can ask question from interpreter or compiler which one JS use. Babel ... Bubbling..shalow & deep copy .. How to make deep copy.. And react fragment diff from html fragment

  • @Niamudeen
    @Niamudeen Год назад +2

    I'm a React Js Developer I heard the difference just you mentioned about class & functional components. Is it really true sir ?????🖐

    • @uidevguide
      @uidevguide  Год назад +1

      🤔 if you found the good answer or something else please do add in comments mostly job seeker check the comments as well ..
      Thank you 😊

  • @yashasaveekesarwani2551
    @yashasaveekesarwani2551 Год назад

    this cant be for 5-8 years. I was asked tougher question for 2+ years of work ex

    • @uidevguide
      @uidevguide  Год назад +1

      Thank to find you are taking interviews can you share the toughs questions which do you ask in interviews it will help job seekers

  • @Anonymous11175
    @Anonymous11175 Год назад

    Fetch and Axios returns Promise whether success or rejected

  • @ToastRusk
    @ToastRusk Год назад

    One thing I've observed with these Indian interviews is that communication is weak on both the sides. There was unnecessary confusion around 14:00

    • @uidevguide
      @uidevguide  Год назад +1

      Where are you from uhh?
      We are proud be 🇮🇳.
      Now coming to weak communication.
      We are human not the robot.

    • @ToastRusk
      @ToastRusk Год назад +1

      @@uidevguide I'm also Indian. I was not criticizing. Don't take me wrong. It is my observation from working in many countries that native Indians are a little weak in communication. Which is fine as it is not their first language but kudos for trying. In the above exchange, the interviewers bad English confused the interviewee and vice versa.

    • @ohmyumbrella
      @ohmyumbrella Год назад

      true. It's difficult to understand what both parties are trying to convey. Especially the interviewer. I specifically faced this before during my own interview and it was due to very poor English of the interviewer. It makes the question confusing and they also have a difficult time understanding the answer being given. In such cases either a common language ( apart from English ) should be used or both question and answer should be typed on screen in real time. A good level of grammatical knowledge is necessary to communicate in any language.
      And communication is an essential skill which is not given much priority in some companies. Communication can make or break an environment and good communication always means good team work and the lack of it is not only frustrating but also detrimental to the overall efficiency of the team's effort.

    • @soumyaranjan6946
      @soumyaranjan6946 Год назад

      Agree I also got confused, interviewee told right but due to communication error the interviewer couldn't understand

  • @crazyboyrish2577
    @crazyboyrish2577 Месяц назад

    Seems like it is a fresher interview😅

  • @s-qc9ns
    @s-qc9ns 6 дней назад

    Calling this guy 5 years experienced is a joke

  • @soumenkamila5266
    @soumenkamila5266 7 месяцев назад

    Some interviewers do not behave properly, mostly they show a rude attitude. They do not ask questions clearly nor give you scope to ask him again.

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

      Yup this happened to me as well 🥹

  • @aseemanand1
    @aseemanand1 Год назад

    These are too basic questions for a react interview.

  • @himanshu6273
    @himanshu6273 10 месяцев назад

    Interviewer thoda sa dheela hai😅

  • @nitinakuch4973
    @nitinakuch4973 Год назад

    What the heck? These are fresher level questions.

  • @rtxgameplayhd
    @rtxgameplayhd Год назад +1

    Respect to Interviewer 🔥🔥🔥