i
Infosys
Filter interviews by
I applied via Company Website and was interviewed in Oct 2023. There were 3 interview rounds.
React offers a component-based architecture, virtual DOM for performance optimization, and a strong community support.
Component-based architecture allows for reusability and easier maintenance of code.
Virtual DOM helps in improving performance by only updating the necessary parts of the actual DOM.
React has a strong community support with a vast ecosystem of libraries and tools available.
React allows for server-side re...
State is mutable and managed within the component, while props are immutable and passed from parent component.
State is managed within the component and can be changed using setState() method
Props are passed from parent component to child component and cannot be changed by the child component
State is used for internal component data management, while props are used for passing data from parent to child components
useReducer is a React hook that manages state changes through a specified reducer function. useContext is a hook that allows access to a context object.
useReducer is used for managing complex state logic in React applications.
It takes in a reducer function and an initial state, and returns the current state and a dispatch function.
Example: const [state, dispatch] = useReducer(reducer, initialState);
useContext is used f...
One way data binding is a unidirectional flow of data from the model to the view in React applications.
Data flows from the model (or source of truth) to the view, but not vice versa.
Changes in the model automatically update the view, but changes in the view do not affect the model.
Helps in maintaining a clear and predictable data flow in React components.
I have used useState, useEffect, useContext, useReducer, and useRef hooks in my projects.
useState - for managing state in functional components
useEffect - for handling side effects in functional components
useContext - for accessing context in functional components
useReducer - for managing complex state logic in functional components
useRef - for accessing DOM elements or storing mutable values
Redux middleware is a function that intercepts actions before they reach the reducer.
Middleware can be used for logging, crash reporting, asynchronous API calls, etc.
It sits between the action dispatch and the reducer.
Examples of popular middleware include redux-thunk and redux-saga.
Git commands for committing, merging code, and resolving merge conflicts
To commit code: git commit -m 'Commit message'
To merge code from a branch: git merge branch_name
To resolve merge conflicts: manually edit the conflicting files, add changes, and then commit the merge
It's 10 multiple-choice question with low,medium, and difficult range levels.
I applied via Company Website and was interviewed in Aug 2023. There was 1 interview round.
Conditional rendering in React allows components to render different elements or components based on certain conditions.
Conditional rendering is achieved using JavaScript expressions inside JSX.
Common conditional rendering techniques include using if statements, ternary operators, and logical && operator.
Example: rendering a component only if a certain condition is met - {condition ?
I applied via Company Website and was interviewed in Nov 2022. There were 2 interview rounds.
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...
What people are saying about Infosys
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
There were 15 mcq questions from JS, React,HTML and CSS
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.
Just MCQ questions related to React, Javascript, HTML, CSS
Capitalize last letter of each word in a string and fetch data from API to display in tabular form using React JS.
Split the string into an array of words
Iterate through each word and capitalize the last letter
Join the words back together to form the modified string
Use React JS to fetch data from API and display in a tabular form
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.
MCQ based Questions were asked
Yes, I follow CI/CD process to automate testing and deployment.
I use tools like Jenkins, GitLab CI, or CircleCI to automate the build, test, and deployment process.
I write unit tests and integration tests to ensure code quality before deployment.
I regularly push code changes to version control and trigger automated builds and tests.
I use continuous integration to merge code changes frequently and detect issues early in
CI/CD process is a software development practice that involves continuous integration, continuous delivery, and continuous deployment.
Continuous Integration (CI) involves automatically building and testing code changes frequently.
Continuous Delivery (CD) ensures that code changes are always in a deployable state.
Continuous Deployment (CD) automatically deploys code changes to production environments.
CI/CD helps in redu...
Some of the top questions asked at the Infosys Reactjs Developer interview for experienced candidates -
based on 2 interviews
Interview experience
based on 12 reviews
Rating in categories
Technology Analyst
55.4k
salaries
| ₹3 L/yr - ₹11.1 L/yr |
Senior Systems Engineer
51.3k
salaries
| ₹2.5 L/yr - ₹8 L/yr |
Technical Lead
34.2k
salaries
| ₹5.1 L/yr - ₹20 L/yr |
System Engineer
31.7k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Senior Associate Consultant
28.9k
salaries
| ₹6.2 L/yr - ₹17 L/yr |
TCS
Wipro
Cognizant
Accenture