Filter interviews by
Top trending discussions
Implementing pagination on scroll allows for loading more content as the user reaches the bottom of the page.
Use a scroll event listener to detect when the user has reached the bottom of the page
Make an API call to fetch more data when the bottom is reached
Append the new data to the existing content on the page
Immediately invoked function expressions (IIFE) are functions that are executed immediately after they are created.
IIFE is defined and invoked at the same time using parentheses at the end of the function declaration.
Anonymous functions do not have a name and can be used as IIFE by wrapping them in parentheses.
IIFE is commonly used to create a private scope for variables and functions.
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned
They help in creating private variables and functions in JavaScript
Closures are commonly used in event handlers and callbacks
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure callbacks.
Example: Fetch API returns a promise when making an HTTP request.
Lazy loading is a technique used in web development to defer loading non-essential resources until they are needed.
Lazy loading helps improve page load times by only loading resources when they are required.
It is commonly used for images, videos, and other media files on a webpage.
Lazy loading can be implemented using JavaScript libraries like Intersection Observer or by using native browser features like loading='lazy
posted on 16 Dec 2024
I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.
Codility consists of two Angular questions: the first involves creating a form, while the second pertains to developing a searchable input field, along with one DSA coding question.
Form validations in Angular are built using Angular forms and validators.
Use Angular forms to create form controls and group them together
Apply built-in validators like required, minlength, maxlength, pattern, etc.
Create custom validators for complex validation requirements
Display error messages based on validation status
Use reactive forms for more control and flexibility
Create a service with a loading state and methods to show/hide loading indicators
Create a loading service with a boolean property 'isLoading'
Add methods in the service to set isLoading to true/false
Inject the loading service in components where loading indicators are needed
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
Promises are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: const myPromise = new Promise((resolve, reject) => { ... });
Box model in CSS refers to the way elements are rendered in a web page. CSS preprocessors like SASS or LESS help streamline CSS development.
Box model in CSS includes content, padding, border, and margin.
CSS preprocessors like SASS or LESS allow for variables, nesting, and mixins to be used in CSS.
Example: box-sizing: border-box; in CSS changes the box model to include padding and border in the element's total width and
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Online Hackathon test was taken.
I am a passionate React Js Frontend Developer with experience in building user-friendly and responsive web applications.
Experienced in developing web applications using React Js
Proficient in HTML, CSS, and JavaScript
Familiar with state management libraries like Redux
Strong understanding of responsive design principles
Ability to work collaboratively in a team environment
I am responsible for developing and maintaining the frontend of the project using React Js.
Developing user-friendly interfaces using React Js
Implementing responsive design and ensuring cross-browser compatibility
Collaborating with backend developers to integrate frontend with backend services
Optimizing application performance and troubleshooting issues
Participating in code reviews and providing feedback to team members
SSR in React is implemented using server-side rendering to pre-render React components on the server before sending them to the client.
Use libraries like Next.js or Gatsby to implement SSR in React.
Configure server to render React components on the server side.
Optimize server-side rendering for performance by caching rendered components.
To change a React project from development mode to production mode, you need to build the project using the 'npm run build' command.
Run 'npm run build' command in the terminal to create a production build of the project.
This command will generate a 'build' folder with optimized and minified files for production.
You can then deploy the contents of the 'build' folder to a web server for production use.
Lazy loading is a technique used to defer loading non-essential resources until they are needed.
Lazy loading helps improve performance by only loading resources when they are required.
In React, lazy loading can be implemented using React.lazy() and Suspense components.
Example: const MyComponent = React.lazy(() => import('./MyComponent'));
Example:
React routing is a way to handle navigation in a React application by defining routes and rendering components based on the URL.
React routing allows for declarative routing, where routes are defined using JSX elements.
It enables dynamic routing based on the URL, allowing for different components to be rendered based on the route.
React Router is a popular library for handling routing in React applications.
Unlike convent...
posted on 21 Nov 2024
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
What is React? What is React architecture ? What is dynamic imports? What is interceptor?
posted on 4 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
Debounce delays the execution of a function until after a specified time period, while throttling limits the rate at which a function can be executed.
Debounce waits for a specified time period of inactivity before executing the function, while throttling limits the rate at which the function can be called.
Debounce is useful for scenarios like search bars where you want to wait for the user to finish typing before makin...
SOAP (Simple Object Access Protocol) was used before Rest APIs for web services communication.
SOAP was a protocol for exchanging structured information in the implementation of web services.
SOAP used XML for message format and relied heavily on HTTP for communication.
SOAP was more rigid and complex compared to Rest APIs, which are more lightweight and flexible.
Examples of SOAP-based web services include Microsoft's .NE
posted on 13 May 2024
I applied via Approached by Company and was interviewed in Apr 2024. There were 2 interview rounds.
posted on 8 Mar 2024
I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Promises can be created using the Promise constructor or by using async/await syntax.
useState is used to manage state in functional components, while useEffect is used to perform side effects in functional components.
useState is used to declare state variables in functional components.
useEffect is used to perform side effects in functional components, such as data fetching, subscriptions, or manually changing the DOM.
useState does not trigger re-renders, while useEffect can be used to trigger re-render...
Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code structure which is hard to understand
Can be avoided by using Promises, async/await, or modularizing code
Traditional functions are defined using the function keyword, while arrow functions are defined using a concise syntax with =>.
Traditional functions are hoisted, while arrow functions are not.
Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.
Arrow functions are more concise and easier to read compared to traditional functions.
Traditional functions are better for methods in obje...
Creating a counter in React to increment and decrement a value.
Create a state variable to store the count value
Use setState to update the count value
Render the count value in the component
Add buttons to increment and decrement the count value
Program to find frequency of letters in a string
Create an object to store the frequency of each letter
Loop through the string and increment the count of each letter in the object
Convert the object into an array of strings with letter and frequency pairs
Iterate through the given string to check if the substring is present.
Iterate through the given string and check if each character matches the first character of the substring.
If a match is found, check the subsequent characters to see if they form the substring.
Return true if the entire substring is found within the given string, otherwise return false.
based on 1 review
Rating in categories
Senior Merchandiser
7
salaries
| ₹4.2 L/yr - ₹7.2 L/yr |
Accountant
4
salaries
| ₹3 L/yr - ₹4.6 L/yr |
Executive Accountant
4
salaries
| ₹2.8 L/yr - ₹4.7 L/yr |
Merchandiser
3
salaries
| ₹1.3 L/yr - ₹7 L/yr |
Senior Manager
3
salaries
| ₹5 L/yr - ₹12.5 L/yr |
Cognizant
Teleperformance
Reliance Retail
iEnergizer