i
Apexon
Filter interviews by
Basic React related questions
Top trending discussions
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Jun 2021. There was 1 interview round.
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
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...
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
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.
I applied via Naukri.com and was interviewed in Apr 2022. There was 1 interview round.
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
React is a JavaScript library for building user interfaces that uses a virtual DOM to efficiently update the UI.
React creates a virtual DOM to represent the UI components.
When state or props change, React compares the virtual DOM with the actual DOM and updates only the necessary parts.
React uses a component-based architecture to build reusable UI elements.
React uses JSX, a syntax extension for JavaScript, to write com
Redux is a predictable state container for JavaScript apps.
Redux stores the entire state of the application in a single immutable object.
Actions are dispatched to describe state changes.
Reducers specify how the state changes in response to actions.
Components can subscribe to the Redux store to access the state.
Redux helps manage the state of complex applications and makes it easier to debug and test.
Example: dispatchin
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
React js and JavaScript scenarios based problems.
based on 1 interview
Interview experience
based on 2 reviews
Rating in categories
Senior Software Engineer
787
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
592
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
249
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Engineer
236
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
191
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech