I recently interviewed with Publicis Sapient for Senior Experience Engineer role. Here’s my experience and the questions asked in the 1st Round of Interview.
- Difference b/w Controlled and Uncontrolled Components in React?
- Create a form using Uncontrolled Components with fields username and password and a submit button, where on submit the values are logged to the console and the form fields reset (not the entire form)?
- Give Basic Css to the Form.
- What are the use cases of Uncontrolled Components?
- Given an API, render the data and add a dropdown with values asc and desc that passes the dropdown value as a query parameter to the API?
- Follow-up: sort the items in descending order on the basis of price?
- Have you worked with GraphQL?
- What State Management libraries have you worked with?
- Walk me through how you would set up Redux Toolkit in a React application.
- What are the different rendering methods in React that you are aware of?
- Difference b/w an SPA and MPA?
- Why does SPA not reload, while MPA does?
- How can you reduce the build size of a React application?
- What is the difference between useMemo and useCallback? Can you give me examples of their use cases from your past projects?
- What types of testing have you done in your applications?
Verdict - Cleared this Round.