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.
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?
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?
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.
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.
@@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
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.
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 .😊
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'
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
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
Super() - it calls the constructor of parent class. Without using super in constructor it gives reference error. We must use super() before accessing this
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
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.
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..
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
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
@@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.
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.
Hats off to interviewer.....how humbly,he explains all topics
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.
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?
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?
Respect to Interviewer 🔥🔥🔥
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.
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.
@@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
Yes correct, I think what interviewer trying to say is react internally used react.createElement() function to make it object of js
Interviewer is wrong for useEffect, 14:40
yes he was wrong
good one for recall all important concepts
hi
I have 13 years of experience, huge huge respect to the interviewer
Yeah some time but when i used tailwind CSS that time class through error but some time it's work
such a cool interviewer he is😇😇
Thanks for this insightful video!!
Thank you Srinivas
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.
👏🏻👏🏻👏🏻
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 .😊
Yes bro interviewee was correct .
Super, and thank you ❤
What the interviewer asked at 9:27 ???? What was the question?
Same, I couldn't listen as well.
The interviewer 👌
Thank you man 🙏🏻🙏🏻
Keep learning !!
I wish all the Interviewers are like him❤
Keep learning !!
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❤
Good to know it was helpful for you .
Keep learning !!
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'
👏🏻🫡
I learnt alot from this video, thanks for sharing ❤
Glad you liked it .
Keep learning!!
To use super in class based component, because without super, you can not access this.props in child component
Hey Nikesh,
We are following angular here in this video.
Yeah It's important😂
Good one!
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
Thanks dhiraj for you responses
what is child props? Isnt it called children props? 9:27
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
Okay Sir 🫡
I think I'm tech lead after watching this interview hahaha, some questions were useful though.
😂😂😂
Interviewer 🔥
Thanks 😀
Super() - it calls the constructor of parent class. Without using super in constructor it gives reference error. We must use super() before accessing this
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
@@just_a_living_beingright ✅️
the interviewer 🔥🔥
best of the best Interviewer
🫡🫡
can you list all the questions with proper explanation? it will be helpful for us
Hey,
I think you should do it 😦.
good one bro ! @@uidevguide
perfect interviewer😇
the questions were very easy
Real interview questions are very hard. (that's what she said)
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
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.
Don't you think the level of questions are little low considering his interview
I got this question in fresher internship interview. You're asking to 5 years experienced person
Great you replied did you get internship then ?
@@uidevguide sadly no. That's why I am watching videos and upgrading my knowledge. I wish I had watched this earlier.
@@TheNikhilify let me know you need any help ping me on Instagram
@@uidevguide sure thank you
I think your experience is one year
😂
You are not serious
why I feel like candidate lies in resume 😆😆 even fresher can crack this interview with better answers.
I almost give the 95% answer with good example and I'm a fresher...can I'm ready for interview
These are fresher-level questions.
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..
I was being asked tougher questions than these for 1.5 year exp.
What was those tougher questions, can u elaborate shortly?
I think this is a mock interview and not a real interview. U shd specify that.
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
These questions seems like for freshers...
😀😀 buddy you are ready then for interview
UseEffect the person is correct interviewer is wrong
i have almost 2 years of experience as a react developer but this are very basic question to be honest
Hey can you please post some difficult questions you faced in interview here.
That would be great
What type of internal operation does the setFunction(useState) use async or sync
Also you can ask that how javascript is diff from JAVA
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
I'm a React Js Developer I heard the difference just you mentioned about class & functional components. Is it really true sir ?????🖐
🤔 if you found the good answer or something else please do add in comments mostly job seeker check the comments as well ..
Thank you 😊
this cant be for 5-8 years. I was asked tougher question for 2+ years of work ex
Thank to find you are taking interviews can you share the toughs questions which do you ask in interviews it will help job seekers
Fetch and Axios returns Promise whether success or rejected
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
Where are you from uhh?
We are proud be 🇮🇳.
Now coming to weak communication.
We are human not the robot.
@@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.
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.
Agree I also got confused, interviewee told right but due to communication error the interviewer couldn't understand
Seems like it is a fresher interview😅
Calling this guy 5 years experienced is a joke
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.
Yup this happened to me as well 🥹
These are too basic questions for a react interview.
Interviewer thoda sa dheela hai😅
🥹🥹
What the heck? These are fresher level questions.
Respect to Interviewer 🔥🔥🔥