Filter interviews by
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Reactjs is a popular JavaScript library for building user interfaces.
Component-based architecture
Virtual DOM for efficient updates
JSX for writing HTML in JavaScript
One-way data binding
Reusable components
React Hooks for state management
Server-side rendering with Next.js
useEffect hook is used in React to perform side effects in function components.
useEffect is a hook that runs after every render of a component.
It can be used to perform data fetching, subscriptions, or manually changing the DOM.
It takes two arguments: a function that contains the side effect logic, and an optional array of dependencies.
The dependencies array is used to control when the effect is re-run.
If the dependenc...
I applied via Naukri.com and was interviewed in May 2022. There was 1 interview round.
Closure is a feature in JavaScript that allows a function to access variables in its outer scope.
A closure is created when a function is defined inside another function.
The inner function has access to the outer function's variables and parameters.
The outer function's variables and parameters are not accessible from outside the closure.
Closures can be used to create private variables and methods.
Example: function outer...
ES6 features are new additions to JavaScript language syntax and functionality.
Arrow functions
Template literals
Let and const keywords
Destructuring assignment
Spread and rest operators
Classes
Modules
Promises
Default parameters
Object.assign()
Symbol data type
I applied via Naukri.com and was interviewed in Aug 2021. There were 4 interview rounds.
To make a page responsive, use Bootstrap layouts and alerts.
Use Bootstrap's grid system to create responsive layouts
Use media queries to adjust the layout based on screen size
Use Bootstrap's responsive utility classes to hide/show elements on different devices
Use Bootstrap's responsive navigation components for mobile-friendly menus
Use Bootstrap's responsive images to ensure they scale properly
Use Bootstrap's responsiv...
A reducer is a pure function in React that takes the previous state and an action, and returns the new state.
Reducers are used in React to manage state changes in an application
They take the previous state and an action as input
Reducers are pure functions, meaning they do not modify the state directly
They return a new state based on the previous state and the action
Redux is a popular library that uses reducers to manag
New features of HTML5 and CSS positions include flexbox, grid layout, and sticky positioning.
Flexbox allows for easier alignment and distribution of items within a container.
Grid layout enables the creation of complex layouts with rows and columns.
Sticky positioning allows elements to stick to a specific position on the page as the user scrolls.
Spread operator is used to expand an iterable object into individual elements.
Used for passing props to child components
Used for merging arrays and objects
Syntax: ...
Example: const arr = [1, 2, 3]; const newArr = [...arr, 4, 5];
I applied via Recruitment Consulltant and was interviewed in Mar 2022. There was 1 interview round.
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope.
Hoisting applies to both variable and function declarations.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted, allowing them to be called before they are declared.
Hoisting does not apply to variables declared with let or const.
Hoisting can lead t...
Higher-order functions are functions that take one or more functions as arguments or return a function as their result.
Higher-order functions can be used to create reusable code by abstracting common patterns.
They enable functional programming paradigms like currying and composition.
Examples of higher-order functions in JavaScript include map, filter, and reduce.
var is function scoped, let and const are block scoped.
var can be redeclared and updated within its scope
let can be updated but not redeclared within its scope
const cannot be updated or redeclared once declared
let and const are not hoisted like var
const must be initialized during declaration
Hooks are a feature in React.js that allow developers to use state and other React features in functional components.
Hooks are functions that let you use React features in functional components
They allow you to use state and other React features without writing a class
Hooks provide a way to reuse stateful logic between components
Some commonly used hooks are useState, useEffect, and useContext
Redux is a predictable state container for JavaScript apps. It helps manage the state of an application in a more organized way.
Redux is a state management tool commonly used with React to manage the state of an application.
It follows a unidirectional data flow, where the state is stored in a single store.
Actions are dispatched to update the state, and reducers specify how the state should change in response to actions...
Context API is used in React to pass data through the component tree without having to pass props down manually at every level.
Avoids prop drilling by providing a way to share values like themes, user data, etc. across the component tree.
Helps in managing global state in React applications.
Context API consists of Provider and Consumer components to provide and consume the context data.
Can be used for theming, localizat
I applied via Recruitment Consulltant and was interviewed in Oct 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Aug 2023. There was 1 interview round.
States are mutable data managed within a component, while props are immutable data passed from parent to child components.
States are managed within a component and can be changed using setState method
Props are passed from parent to child components and are immutable
States are used for internal component data management, while props are used for passing data between components
Example: A counter component may have a stat...
Data can be passed from children to parents in React components by using callback functions.
Use callback functions to pass data from child components to parent components
Parent component passes a function as a prop to child component
Child component calls the function with the data as an argument to pass data to parent component
based on 1 interview
Interview experience
Softwaretest Engineer
10
salaries
| ₹2.8 L/yr - ₹4.8 L/yr |
UI/UX Designer
4
salaries
| ₹2.2 L/yr - ₹2.6 L/yr |
Test Engineer
4
salaries
| ₹2.8 L/yr - ₹3.8 L/yr |
Web Developer
4
salaries
| ₹2.4 L/yr - ₹3.6 L/yr |
Solaris Administrator
4
salaries
| ₹4.2 L/yr - ₹6 L/yr |
TCS
Accenture
Wipro
Cognizant