i
Tech
Mahindra
Filter interviews by
Redux is a predictable state container for JavaScript apps. It helps manage the state of an application in a more organized way.
Redux is a state management tool commonly used with React to manage the state of an application.
It follows a unidirectional data flow, where the state is stored in a single store.
Actions are dispatched to update the state, and reducers specify how the state should change in response to actions...
Context API is used in React to pass data through the component tree without having to pass props down manually at every level.
Avoids prop drilling by providing a way to share values like themes, user data, etc. across the component tree.
Helps in managing global state in React applications.
Context API consists of Provider and Consumer components to provide and consume the context data.
Can be used for theming, localizat...
I applied via Recruitment Consulltant and was interviewed in Oct 2022. There were 3 interview rounds.
What people are saying about Tech Mahindra
I applied via Company Website and was interviewed in Apr 2021. There were 3 interview rounds.
A reusable React form component that dynamically generates fields and displays inputs in a table format.
Use React's state to manage form data dynamically.
Utilize a mapping function to render form fields based on an array of field definitions.
Implement a submit handler to process the form data.
Display the form inputs in a table format using HTML table elements.
Example of field definitions: [{ label: 'Name', type: 'text'...
A reducer is a pure function in React that takes the previous state and an action, and returns the new state.
Reducers are used in React to manage state changes in an application
They take the previous state and an action as input
Reducers are pure functions, meaning they do not modify the state directly
They return a new state based on the previous state and the action
Redux is a popular library that uses reducers to manag...
New features of HTML5 and CSS positions include flexbox, grid layout, and sticky positioning.
Flexbox allows for easier alignment and distribution of items within a container.
Grid layout enables the creation of complex layouts with rows and columns.
Sticky positioning allows elements to stick to a specific position on the page as the user scrolls.
Spread operator is used to expand an iterable object into individual elements.
Used for passing props to child components
Used for merging arrays and objects
Syntax: ...
Example: const arr = [1, 2, 3]; const newArr = [...arr, 4, 5];
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
Virtual DOM improves performance by minimizing direct manipulation of the real DOM, enhancing UI updates in React.
Real DOM is the actual representation of the UI in the browser, while Virtual DOM is a lightweight copy kept in memory.
Updating the Real DOM is slow and costly, as it involves reflow and repaint processes in the browser.
Virtual DOM allows React to batch updates and only re-render components that have change...
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 Company Website and was interviewed in May 2021. There were 3 interview rounds.
based on 3 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
26.7k
salaries
| ₹3.7 L/yr - ₹9.2 L/yr |
Senior Software Engineer
22.1k
salaries
| ₹9 L/yr - ₹18.5 L/yr |
Technical Lead
12.5k
salaries
| ₹16.9 L/yr - ₹30 L/yr |
Associate Software Engineer
6.1k
salaries
| ₹1.9 L/yr - ₹5.7 L/yr |
Team Lead
5.3k
salaries
| ₹6.5 L/yr - ₹17.9 L/yr |
Infosys
Cognizant
Accenture
Wipro