Filter interviews by
Top trending discussions
I applied via Naukri.com and was interviewed in Jan 2024. There were 3 interview rounds.
Normal js,react question
Hoisting is the JavaScript mechanism where variable and function declarations are moved to the top of their containing scope. HOC stands for Higher Order Component, a pattern used in React for code reusability. Debouncing is a technique used to limit the rate at which a function is executed.
Hoisting moves variable and function declarations to the top of their scope during the compilation phase.
HOC is a function that ta...
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
An aptitutde test 20 questions, 2 coding and 2 output based
I applied via Recruitment Consulltant and was interviewed before Aug 2022. There were 4 interview rounds.
Javascript questions about closure,prototype, strings array problem solving
Html css react coding with tricky and real scenarios in project
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Error handling in React can be done using try-catch blocks, error boundaries, and handling asynchronous errors.
Use try-catch blocks to handle synchronous errors
Use error boundaries to catch errors in child components
Handle asynchronous errors using promises or async/await
Use third-party libraries like Sentry or Bugsnag for better error tracking
Display user-friendly error messages to improve user experience
Refs are a way to access DOM nodes or React components directly. They can be used to get input values.
Refs provide a way to access DOM nodes or React components directly.
They are commonly used to get input values or trigger imperative animations.
Refs can be created using the `createRef()` method or by using a callback function.
To get the value of an input using refs, you can assign a ref to the input element and access
useState and useEffect are React Hooks used for managing state and side effects respectively.
useState is used to manage state in functional components
It returns an array with two elements - the current state value and a function to update the state
useEffect is used to manage side effects like fetching data or updating the DOM
It takes a function as its argument and runs it after every render
useEffect can also take a sec...
Lazy Loading and Suspense are techniques used to improve performance by loading components and data only when needed.
Lazy Loading delays the loading of non-critical resources until they are needed, reducing initial load time.
Suspense allows components to wait for data to load before rendering, improving user experience.
Lazy Loading and Suspense can be used together to optimize performance and user experience.
Example: A...
componentWillUnmount is a lifecycle method in React that is called right before a component is unmounted and destroyed.
componentWillUnmount is used to perform any necessary cleanup tasks before a component is removed from the DOM.
It is commonly used to cancel any pending network requests, remove event listeners, or clear timers or intervals.
The method is called automatically by React when a component is about to be unm...
To avoid re-rendering, use shouldComponentUpdate or React.memo
Use shouldComponentUpdate to compare current and next props/state
Use React.memo to memoize functional components
Use useMemo to memoize expensive computations
Use useCallback to memoize event handlers
Use PureComponent for class components
What is react , feature, axios, API
Redux Redux toolkit Redux thunk
posted on 7 May 2022
I applied via Referral and was interviewed in Apr 2022. There were 3 interview rounds.
QA Engineer
5
salaries
| ₹3 L/yr - ₹8 L/yr |
Software Developer
4
salaries
| ₹3.5 L/yr - ₹3.5 L/yr |
Director
4
salaries
| ₹28.3 L/yr - ₹40 L/yr |
Senior Software Engineer
4
salaries
| ₹10.9 L/yr - ₹11.3 L/yr |
Product Owner
4
salaries
| ₹11.8 L/yr - ₹18 L/yr |
TCS
Infosys
Wipro
HCLTech