i
Avegen Health
Filter interviews by
I applied via Company Website and was interviewed before Mar 2022. There was 1 interview round.
Virtual DOM is a lightweight copy of the actual DOM, used by React to efficiently update and render components.
Virtual DOM is a concept in React that improves performance by minimizing direct manipulation of the actual DOM.
It is a lightweight copy of the actual DOM tree, stored in memory.
React uses the Virtual DOM to determine the most efficient way to update the actual DOM.
When changes are made to the Virtual DOM, Rea...
React component lifecycle includes mounting, updating, and unmounting phases.
Mounting phase: constructor() -> getDerivedStateFromProps() -> render() -> componentDidMount()
Updating phase: getDerivedStateFromProps() -> shouldComponentUpdate() -> render() -> getSnapshotBeforeUpdate() -> componentDidUpdate()
Unmounting phase: componentWillUnmount()
Examples: constructor() initializes state, componentDidMount() fetches data, ...
React has three main stages in its lifecycle: Mounting, Updating, and Unmounting.
Mounting: when a component is being created and inserted into the DOM
Updating: when a component is being re-rendered due to changes in props or state
Unmounting: when a component is being removed from the DOM
Event loop is a mechanism that allows JavaScript to perform non-blocking I/O operations.
Event loop is responsible for handling asynchronous callbacks in JavaScript.
It continuously checks the call stack and the task queue for any pending tasks.
If the call stack is empty, it picks up the first task from the task queue and pushes it onto the call stack.
It then executes the task and repeats the process until there are no m...
Yes, state is mutable in Redux.
State in Redux is mutable, but it should not be directly mutated.
Changes to state should be made through pure functions called reducers.
The immutability of state is important for predictable and efficient updates.
Examples of state mutation include using the 'push' method on an array or directly modifying an object property.
Top trending discussions
based on 2 reviews
Rating in categories
QA Engineer
9
salaries
| ₹4 L/yr - ₹8.5 L/yr |
Software Engineer
7
salaries
| ₹5.5 L/yr - ₹11 L/yr |
Senior Software Engineer
6
salaries
| ₹9 L/yr - ₹20 L/yr |
Project Manager
5
salaries
| ₹6.2 L/yr - ₹9.6 L/yr |
Data Analyst
5
salaries
| ₹2.7 L/yr - ₹6.8 L/yr |
Apollo Hospitals
Fortis Healthcare
Manipal Hospitals
Max Healthcare