i
Intelizign Lifecycle
Services
Filter interviews by
State is mutable data managed within a component, while props are immutable data passed from parent to child components.
State is managed within a component and can be updated using setState() method
Props are passed from parent to child components and cannot be changed within the child component
State is used for managing component-specific data, while props are used for passing data between components
State is mutable data managed by a component, while props are read-only data passed from parent to child components.
State is managed within a component and can be updated using setState() method
Props are passed from parent to child components and cannot be modified by the child component
State is used for managing component-specific data, while props are used for passing data between components
Life cycle methods in React.js are special methods that are automatically called at specific points in a component's life cycle.
Life cycle methods include componentDidMount, componentDidUpdate, componentWillUnmount, etc.
componentDidMount is called after the component has been rendered to the DOM.
componentDidUpdate is called after the component's state or props have been updated.
componentWillUnmount is called before the...
Redux flow in ReactJS is the process of managing application state using a centralized store.
Actions are dispatched by components to update the state
Reducers specify how the state should change in response to actions
The updated state is then passed down to components via props
useEffect hook in Reactjs is used to perform side effects in function components.
Used to perform side effects in function components
Similar to componentDidMount and componentDidUpdate in class components
Takes a function as its first argument and an optional array of dependencies as its second argument
Dependencies array controls when the effect is re-run
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
MCQ test and coding questions
Coding test related to Reactjs topic
Top trending discussions
I appeared for an interview in Feb 2024.
Hooks are functions that let you use state and other React features without writing a class.
Hooks allow functional components to manage state using the useState hook.
useEffect hook enables side effects like data fetching and subscriptions.
Custom hooks can be created to encapsulate reusable logic.
Hooks must be called at the top level of a component to maintain consistent behavior.
Rules of hooks: Only call hooks from Rea...
posted on 6 Mar 2023
I applied via Naukri.com and was interviewed in Feb 2023. There were 3 interview rounds.
It was an online test. The test was having 25 English questions and 25 coding MCQ questions. Test duration was 60 Mins
Implement a product list with flexbox layout and sorting functionality in React.
Use React's useState to manage the product list and sorting order.
Create a Product component to display individual product details.
Utilize CSS Flexbox for responsive layout: e.g., 'display: flex; flex-wrap: wrap;'.
Implement a sort function that updates the state based on selected criteria (e.g., price, name).
Example sort function: 'const so...
posted on 28 Jul 2022
Remove duplicate elements from an array of strings
Create a new Set from the array to remove duplicates
Convert the Set back to an array using the spread operator
Alternatively, use filter() and indexOf() to remove duplicates
React functional components have access to various hooks like useState, useEffect, useContext, etc. Closure is a feature in JavaScript where a function has access to its outer function's scope.
React hooks available in functional components include useState, useEffect, useContext, useReducer, useCallback, useMemo, useRef, useImperativeHandle, useLayoutEffect, and useDebugValue.
useState is used to manage state in functio...
Event loop is a mechanism in JavaScript that allows for asynchronous operations to be executed in a non-blocking way.
Event loop is responsible for handling asynchronous operations in JavaScript.
It allows for non-blocking execution of code by moving asynchronous tasks to the event queue.
Event loop continuously checks the call stack and the event queue, moving tasks from the queue to the stack when the stack is empty.
Exa...
Closures are functions that have access to their own scope, as well as the scope in which they were defined.
Closures allow functions to access variables from their outer scope even after the outer function has finished executing.
They are commonly used to create private variables in JavaScript.
Closures are created whenever a function is defined within another function.
Dsa question were asked
Question related to profit loss
posted on 20 Feb 2021
I applied via Recruitment Consultant and was interviewed before Feb 2020. There were 4 interview rounds.
based on 3 interview experiences
Difficulty level
Duration
Software Engineer
371
salaries
| ₹4 L/yr - ₹9 L/yr |
Senior Software Engineer
292
salaries
| ₹8.2 L/yr - ₹15 L/yr |
Design Engineer
232
salaries
| ₹2.4 L/yr - ₹6.9 L/yr |
Software Developer
90
salaries
| ₹4.8 L/yr - ₹12.1 L/yr |
Senior Implementation Engineer
59
salaries
| ₹5.3 L/yr - ₹17.4 L/yr |
ITC Infotech
3i Infotech
Sify Technologies
Microland