i
BUSINESSNEXT
Filter interviews by
Clear (1)
I was interviewed in Oct 2022.
Webpack is a module bundler for JavaScript applications.
Webpack takes modules with dependencies and generates static assets representing those modules.
It can handle various types of assets like JavaScript, CSS, images, and fonts.
Webpack allows for code splitting, lazy loading, and hot module replacement.
It has a rich plugin ecosystem to extend its functionality.
Commonly used configuration file for webpack is webpack.co
Babel is a JavaScript compiler that converts modern JavaScript code into backward-compatible versions for browser compatibility.
Babel allows developers to write code using the latest ECMAScript features without worrying about browser support.
It transforms JSX syntax used in React components into regular JavaScript.
Babel can also be configured to support specific browsers or environments.
Plugins can be added to Babel fo
HOC stands for Higher Order Component in React, a pattern where a function takes a component and returns a new component.
HOC is a function that takes a component and returns a new component with additional props or functionality.
It is used for code reusability, logic abstraction, and cross-cutting concerns like logging, authentication, etc.
Example: withAuth HOC can add authentication logic to a component by checking if
Lifecycle methods in React js are special methods that allow developers to hook into the component lifecycle and perform actions at specific points.
componentDidMount() - called after the component is rendered for the first time
componentDidUpdate() - called after the component's updates are flushed to the DOM
componentWillUnmount() - called before the component is removed from the DOM
Top trending discussions
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 LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
React js and JavaScript scenarios based problems.
I applied via Naukri.com and was interviewed in Apr 2022. There was 1 interview round.
Closures and hoisting are important concepts in JavaScript.
Closures refer to the ability of a function to access variables in its outer scope even after the function has returned.
Hoisting is the behavior of moving variable and function declarations to the top of their respective scopes.
Example of closures: function outer() { let x = 10; function inner() { console.log(x); } return inner; } const innerFunc = outer(); inn...
I applied via Naukri.com and was interviewed in Aug 2022. There were 2 interview rounds.
A single page application is a web application that loads once and dynamically updates the content without refreshing the page.
Loads once and dynamically updates content
No page refreshes
Uses JavaScript frameworks like React to handle routing and rendering
Improves user experience by providing a seamless and responsive interface
React provides efficient and flexible UI rendering, component reusability, and easy integration with other libraries.
Virtual DOM allows for faster rendering and improved performance
Component-based architecture promotes reusability and modularity
Easy integration with other libraries and frameworks like Redux and React Native
JSX syntax allows for easy creation of complex UI components
React community provides a vast array
useMemo is a hook in React that memoizes the result of a function and returns the cached value on subsequent renders.
useMemo is used to optimize performance by avoiding unnecessary re-renders.
It takes two arguments: a function and an array of dependencies.
The function is only re-executed if any of the dependencies change.
Common use cases include expensive calculations, filtering, and sorting.
Example: useMemo(() => calc
Functional components are a type of React component that are defined as a function rather than a class.
They are simpler and easier to read than class components.
They don't have state or lifecycle methods.
They receive props as an argument and return JSX.
They are often used for presentational components.
They can use React hooks to manage state and lifecycle.
Example: const MyComponent = (props) => { return
I applied via Job Portal and was interviewed in Jan 2024. There was 1 interview round.
let, var, and const are all used for variable declaration in JavaScript, but they have different scopes and behaviors.
let has block scope, var has function scope, and const is a constant that cannot be reassigned.
Using let allows you to declare variables that are limited to the scope of a block statement.
var variables are hoisted to the top of their function scope.
const variables must be initialized with a value and ca
I applied via Approached by Company and was interviewed before Jun 2023. There were 3 interview rounds.
React is a JavaScript library for building user interfaces.
Component-based architecture for reusability
Virtual DOM for efficient updates
One-way data binding for predictable data flow
Supports server-side rendering for SEO optimization
Callback function is a function passed as an argument to another function to be executed later. Hooks are functions that let you use state and other React features without writing a class.
Callback function is used to handle asynchronous operations or events in JavaScript.
Example: setTimeout function takes a callback function as an argument to execute after a specified time.
Hooks are introduced in React 16.8 to allow fu...
Box model is a fundamental concept in CSS which defines the spacing and dimensions of an element.
The box model consists of content, padding, border, and margin.
Content area is where the actual content of the element is displayed.
Padding is the space between the content and the border.
Border surrounds the padding and content.
Margin is the space outside the border, separating the element from other elements.
Example: div ...
I applied via Recruitment Consulltant and was interviewed in Nov 2023. There were 3 interview rounds.
Progress bar in react and remote data fetching
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Engineer
252
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
233
salaries
| ₹0 L/yr - ₹0 L/yr |
Business Analyst
219
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
195
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Consultant
143
salaries
| ₹0 L/yr - ₹0 L/yr |
Freshworks
Zoho
Ramco Systems
TCS