Open In App

Infosys Interview Experience for React frontend developer

Last Updated : 17 Jan, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Round-1 (Technical Interview Round-1): Basically, my interview started at noon sharp 12 when I was in teams I turned on the video and waited for the panel.

As soon as she entered the meeting I wished her and asked how’s the day going. Later she asked the following questions :

  • Tell me something about yourself.
  • She asked me to write code from the front end that how I can handle the API request from an API endpoint.
  • She asked what is lazy-loading and code splitting.
  • She asked how to debounce the application.
  • How the data flow in the components.
  • She asked me to open the code sandbox and told me to code a simple component and render a component to that component. The question is straightforward I have done with this task in 5 ~ 6 mins.
  • Later she asked me to call the API endpoint using “fetch” or “Axios” from the second component to the first component which is rendered in the app component. I used functional hooks like useEffect and useState.
  • After that, she tested my knowledge and understanding of class components and components life cycle methods like componentDidMount() & componentWillUnmount().
  • Later she asked how to use componentWillUnmount() in the functional component I answered that we use useEffect() hook to clean up the subscriptions and timers in the useEffect function simply return ()=> { cleanup }. to avoid memory leaks.

Finally, the interview came to an end and I asked her in which areas I should develop, she gave positive feedback

Author: Susheel Kumar


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads