Premium Employer

i

This company page is being actively managed by Xoriant Team. If you also belong to the team, you can get access from here

Xoriant Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Xoriant Reactjs Developer Interview Questions and Answers

Updated 4 Jan 2025

Xoriant Reactjs Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Basics of Javascript
  • Q2. Basics of React

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared basics of All the front technology like JavaScript, Typescript, HTML and CSS

Reactjs Developer Jobs at Xoriant

View all

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Basic react interview question like lifecycle methods and about hooks
  • Q2. Javascript interview questions like hoisting, closures, function currying and es6 features.
  • Q3. Function to flatten and sort an array
Round 2 - Behavioral 

(3 Questions)

  • Q1. Basic scrum related questions
  • Q2. Challenges faced
  • Q3. Function to find the occurrences of the word in a string

Interview Questionnaire 

3 Questions

  • Q1. What are the new features in react 16?
  • Ans. 

    React 16 introduced new features like React Fiber, Error Boundaries, Portals, and improved server-side rendering.

    • React Fiber is a new reconciliation engine that improves performance and enables incremental rendering.

    • Error Boundaries allow developers to catch and handle errors in components.

    • Portals provide a way to render children into a different DOM subtree.

    • Improved server-side rendering with support for streaming and...

  • Answered by AI
  • Q2. Why react hooks are use full?
  • Ans. 

    React hooks simplify state management and lifecycle methods in functional components.

    • Hooks allow functional components to have state and lifecycle methods

    • They reduce the need for class components and HOCs

    • Hooks make code more readable and easier to test

    • Examples of hooks include useState, useEffect, and useContext

  • Answered by AI
  • Q3. What is HOC components?
  • Ans. 

    HOC components are higher-order components in React that allow code reuse and logic sharing.

    • HOC components are functions that take a component and return a new component with additional functionality.

    • They are used to abstract common logic and behaviors into reusable components.

    • HOC components can be used for tasks like authentication, logging, and code reuse.

    • Example: a withAuth HOC component that adds authentication log

  • Answered by AI

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Apr 2022. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What is closures, Hoisting with example Semantic elements
  • Ans. 

    Closures and hoisting are important concepts in JavaScript.

    • Closures refer to the ability of a function to access variables in its outer scope even after the function has returned.

    • Hoisting is the behavior of moving variable and function declarations to the top of their respective scopes.

    • Example of closures: function outer() { let x = 10; function inner() { console.log(x); } return inner; } const innerFunc = outer(); inn...

  • Answered by AI
  • Q2. Chaining Methods Currying Call bind and apply Optimization of application Server side rendering
  • Q3. Selectors HTML 5 features

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview questions were basic javascript only. He didn't ask anything related to reactjs.
Practice for scope of variables inside and outside of functions

I applied via Recruitment Consulltant and was interviewed in Mar 2022. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. What is hoisting in JS
  • Ans. 

    Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope.

    • Hoisting applies to both variable and function declarations.

    • Variable declarations are hoisted but not their initializations.

    • Function declarations are fully hoisted, allowing them to be called before they are declared.

    • Hoisting does not apply to variables declared with let or const.

    • Hoisting can lead t...

  • Answered by AI
  • Q2. What are higher-order functions in JS
  • Ans. 

    Higher-order functions are functions that take one or more functions as arguments or return a function as their result.

    • Higher-order functions can be used to create reusable code by abstracting common patterns.

    • They enable functional programming paradigms like currying and composition.

    • Examples of higher-order functions in JavaScript include map, filter, and reduce.

  • Answered by AI
  • Q3. Difference between var, let, and const in JS
  • Ans. 

    var is function scoped, let and const are block scoped.

    • var can be redeclared and updated within its scope

    • let can be updated but not redeclared within its scope

    • const cannot be updated or redeclared once declared

    • let and const are not hoisted like var

    • const must be initialized during declaration

  • Answered by AI
  • Q4. What are Hooks in React.js
  • Ans. 

    Hooks are a feature in React.js that allow developers to use state and other React features in functional components.

    • Hooks are functions that let you use React features in functional components

    • They allow you to use state and other React features without writing a class

    • Hooks provide a way to reuse stateful logic between components

    • Some commonly used hooks are useState, useEffect, and useContext

  • Answered by AI
  • Q5. Presentation component vs functional component in React.js
  • Q6. Bind(), call(), apply() in JS

Interview Preparation Tips

Topics to prepare for Infosys Reactjs Developer interview:
  • JavaSctipt
  • React.Js
Interview preparation tips for other job seekers - the interview was based on basic concepts of JS.

Skills evaluated in this interview

I applied via Company Website and was interviewed in Nov 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Difference between var and let, difference between redux and flux
  • Ans. 

    Var is function scoped, let is block scoped. Redux is a predictable state container, Flux is an architecture pattern.

    • Var can be redeclared and updated within its scope, let cannot be redeclared but can be updated within its scope

    • Redux has a single store for the entire application, while Flux has multiple stores

    • Redux uses a unidirectional data flow, while Flux uses a bidirectional data flow

    • Redux has middleware for handl...

  • Answered by AI
  • Q2. Output based questions on var and let.

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through the fundamentals of javaScript , var and let , promises, map,filter,reduce

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Basic question from React JS, Redux, Javascript, HTML and CSS.
  • Q2. Core concept like difference between virtual dom and real dom.
  • Q3. What is Redux and flow of Redux. Difference between context api and Redux.
Round 2 - Technical 

(2 Questions)

  • Q1. Project related questions like what had you done in previous project.
  • Q2. Some scenarios based questions.
Round 3 - HR 

(1 Question)

  • Q1. General HR questions.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Alternative way for prop drilling
  • Ans. 

    Context API or Redux can be used as alternative ways for prop drilling in React.

    • Use Context API to pass data down the component tree without having to manually pass props at every level.

    • Implement Redux to manage global state and access data from any component without prop drilling.

    • Consider using React's useContext hook with Context API for a simpler way to consume context in functional components.

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Asked four programs
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(16 Questions)

  • Q1. What is hosting and closer
  • Ans. 

    Hosting is the process of storing a website or application on a server, while closure is a function that retains access to variables from its parent scope.

    • Hosting involves storing a website or application on a server to make it accessible on the internet.

    • Closure is a function that retains access to variables from its parent scope, even after the parent function has finished executing.

  • Answered by AI
  • Q2. What is difference between var let and const give me an explanation on what block scope
  • Ans. 

    var, let, and const are used to declare variables in JavaScript. var has function scope, let has block scope, and const is a constant with block scope.

    • var has function scope, meaning it is accessible throughout the function it is declared in.

    • let has block scope, meaning it is only accessible within the block it is declared in.

    • const is similar to let in terms of block scope, but the value cannot be reassigned.

  • Answered by AI
  • Q3. What is asynchronous and how it works
  • Ans. 

    Asynchronous programming allows tasks to run independently of the main program flow, improving performance and responsiveness.

    • Asynchronous code does not block the main thread, allowing other tasks to continue while waiting for a response.

    • Callbacks, promises, and async/await are common ways to handle asynchronous operations in JavaScript.

    • Example: fetching data from an API while the rest of the application continues to r

  • Answered by AI
  • Q4. Tell me the output 1)a = 20; console.log(a); var a; 2)b=10; console.log(b); let b; 3)let a =5; if(a<5){ let b = " a lessthen 5"; }else{ let b = "b is grater then 5"; } console.log(b);
  • Ans. 

    The output for the given code snippets will be: 1) 20 2) ReferenceError: Cannot access 'b' before initialization 3) ReferenceError: b is not defined

    • In the first snippet, variable 'a' is declared using 'var' after it is assigned a value, so it logs 20 without any issues.

    • In the second snippet, variable 'b' is declared using 'let' after it is assigned a value, so it throws a ReferenceError as 'b' is accessed before initia...

  • Answered by AI
  • Q5. Give a div with text and display center of the page and apply animation using HTML and css
  • Ans. 

    Use HTML and CSS to center a div with text and apply animation

    • Create a div element with text inside

    • Apply CSS to center the div on the page using flexbox or margin auto

    • Use CSS animations like keyframes to add animation effects

  • Answered by AI
  • Q6. What are semantic tags and explain
  • Ans. 

    Semantic tags are HTML tags that provide meaning to the content they enclose, helping search engines and screen readers understand the structure of a webpage.

    • Semantic tags help improve SEO by providing context to search engines.

    • They also improve accessibility for screen readers by clearly defining the structure of a webpage.

    • Examples of semantic tags include

      ,
      ,

Answered by AI
  • Q7. How can we write responsive for web page
  • Ans. 

    Use media queries, flexible grids, and relative units to create a responsive web page.

    • Use media queries to apply different styles based on screen size

    • Create flexible grids using CSS Grid or Flexbox

    • Use relative units like percentages or ems for sizing elements

    • Consider using frameworks like Bootstrap or Material-UI for responsive design

    • Test your design on different devices and screen sizes

  • Answered by AI
  • Q8. What is the difference between CSS and SASS? what is the use of Sass
  • Ans. 

    SASS is a preprocessor scripting language that is interpreted into CSS, offering more features and flexibility.

    • SASS is a preprocessor for CSS, allowing for variables, nesting, and mixins to be used in stylesheets.

    • SASS code needs to be compiled into CSS before being used in a web project.

    • SASS helps in writing cleaner and more organized CSS code, making it easier to maintain and update styles.

    • CSS is the styling language ...

  • Answered by AI
  • Q9. Event propagation
  • Q10. How would you validate the form using HTML? How do you validate the phone number with the country code?
  • Ans. 

    Form validation using HTML and validating phone number with country code

    • Use HTML5 form validation attributes like 'required', 'pattern', 'minlength', etc.

    • For phone number validation, use 'pattern' attribute with regex for specific country code format

    • Example: <input type='tel' pattern='[0-9]{3}-[0-9]{3}-[0-9]{4}' required>

  • Answered by AI
  • Q11. Which test library you use why it usecase
  • Ans. 

    I use Jest for testing React applications due to its simplicity and integration with React ecosystem.

    • Jest is the most popular test library for React applications

    • It comes pre-configured with Create React App and has great support for snapshot testing

    • Jest also has built-in mocking capabilities which make it easy to test components with dependencies

  • Answered by AI
  • Q12. Tell me mounting and shallow concept in testing library
  • Ans. 

    Mounting is the process of rendering a component into the DOM, while shallow rendering allows testing a component without rendering its children.

    • Mounting is the initial phase of the component lifecycle where the component is rendered into the DOM.

    • Shallow rendering in testing library renders only the component itself, not its children.

    • Shallow rendering is useful for isolating the component being tested and avoiding rend...

  • Answered by AI
  • Q13. What is redux-toolkit and what difference b/w redux and redux-toolkit
  • Ans. 

    Redux Toolkit is the official, recommended way to write Redux logic. It simplifies the process of managing state in React applications.

    • Redux Toolkit provides a set of tools and best practices to streamline Redux development.

    • It includes utilities like createSlice, createReducer, and configureStore to simplify the code and reduce boilerplate.

    • Redux Toolkit also includes built-in Immer integration for writing immutable upd...

  • Answered by AI
  • Q14. How api call handle in redux and how can you get and display user name from redux
  • Ans. 

    API calls in Redux are typically handled using middleware like Redux Thunk. User name can be retrieved from Redux state and displayed in components.

    • Use Redux Thunk middleware to make API calls in Redux

    • Dispatch actions to update Redux state with API response data

    • Access user name from Redux state in components to display it

  • Answered by AI
  • Q15. React hooks and how optimization
  • Q16. Why we need thank in redux
  • Ans. 

    Thunk middleware in Redux allows for asynchronous logic to be handled in Redux actions.

    • Thunk middleware allows for dispatching functions instead of just plain objects in Redux actions.

    • It enables handling asynchronous API calls within Redux actions.

    • Thunk middleware helps in simplifying the code by moving complex logic outside of components.

    • Example: Thunk middleware can be used to dispatch an action after a delay or to f...

  • Answered by AI

    Skills evaluated in this interview

    I applied via LinkedIn and was interviewed in Jun 2021. There was 1 interview round.

    Interview Questionnaire 

    4 Questions

    • Q1. What is hoisting ?
    • Ans. 

      Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope.

      • Variables declared with var are hoisted to the top of their scope

      • Function declarations are hoisted before variables

      • Function expressions are not hoisted

      • Hoisting can lead to unexpected behavior and bugs

    • Answered by AI
    • Q2. What is useEffect ?
    • Ans. 

      useEffect is a hook in React that allows you to perform side effects in functional components.

      • It replaces componentDidMount, componentDidUpdate, and componentWillUnmount.

      • It takes two arguments: a function that performs the side effect and an array of dependencies.

      • The function is called after every render, unless the dependencies haven't changed.

      • Common use cases include fetching data, setting up event listeners, and upd...

    • Answered by AI
    • Q3. What is function currying
    • Ans. 

      Function currying is a technique of transforming a function that takes multiple arguments into a sequence of functions that each take a single argument.

      • Currying allows partial application of a function.

      • It helps in creating reusable functions.

      • Curried functions are composable and can be easily combined to create new functions.

      • Currying can be achieved using closures or by using libraries like Lodash or Ramda.

      • Example: cons

    • Answered by AI
    • Q4. What is closures in js
    • Ans. 

      Closures are functions that have access to variables in their outer scope, even after the outer function has returned.

      • Closures are created when a function is defined inside another function.

      • The inner function has access to the outer function's variables and parameters.

      • Closures can be used to create private variables and methods.

      • Closures can also be used to create functions with pre-set arguments.

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Only a single round which lasted for almost 30 min. It was relatively easy one with basic qns on javascript

    Skills evaluated in this interview

    Xoriant Interview FAQs

    How many rounds are there in Xoriant Reactjs Developer interview?
    Xoriant interview process usually has 1 rounds. The most common rounds in the Xoriant interview process are Technical.
    How to prepare for Xoriant Reactjs Developer interview?
    Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Xoriant. The most common topics and skills that interviewers at Xoriant expect are Athletics, CSS, Construction, HTML and Protocol Testing.
    What are the top questions asked in Xoriant Reactjs Developer interview?

    Some of the top questions asked at the Xoriant Reactjs Developer interview -

    1. Basics of Javascr...read more
    2. Basics of Re...read more

    Tell us how to improve this page.

    Xoriant Reactjs Developer Interview Process

    based on 1 interview

    Interview experience

    4
      
    Good
    View more
    Join Xoriant Imagination Realized

    Xoriant Reactjs Developer Reviews and Ratings

    based on 1 review

    4.0/5

    Rating in categories

    3.0

    Skill development

    4.0

    Work-life balance

    3.0

    Salary

    4.0

    Job security

    4.0

    Company culture

    3.0

    Promotions

    4.0

    Work satisfaction

    Explore 1 Review and Rating
    React JS Developer

    Pune,

    Gurgaon / Gurugram

    +1

    6-11 Yrs

    Not Disclosed

    Explore more jobs
    Software Engineer
    1.7k salaries
    unlock blur

    ₹0 L/yr - ₹0 L/yr

    Senior Software Engineer
    1.7k salaries
    unlock blur

    ₹0 L/yr - ₹0 L/yr

    Softwaretest Engineer
    599 salaries
    unlock blur

    ₹0 L/yr - ₹0 L/yr

    Technical Lead
    574 salaries
    unlock blur

    ₹0 L/yr - ₹0 L/yr

    Senior Test Engineer
    447 salaries
    unlock blur

    ₹0 L/yr - ₹0 L/yr

    Explore more salaries
    Compare Xoriant with

    TCS

    3.7
    Compare

    Infosys

    3.6
    Compare

    Wipro

    3.7
    Compare

    Tech Mahindra

    3.5
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview