Filter interviews by
DOM stands for Document Object Model. It is a programming interface for HTML and XML documents.
DOM represents the structure of a document as a tree of objects.
We can use JavaScript to access and manipulate the DOM to change HTML tags.
We can use DOM methods like getElementById, getElementsByClassName, etc. to select HTML elements.
We can then modify the selected elements by changing their properties or attributes using J...
Data can be passed from parent to child component in React using props.
Parent component can pass data to child component by including it as a prop in the child component's JSX tag.
The child component can access the passed data using the props object.
Data can be passed as a string, number, boolean, object, or even a function.
Example:
Top trending discussions
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
ES6 is the latest version of ECMAScript with new features like arrow functions, classes, and template literals.
Arrow functions provide a more concise syntax for writing functions.
Classes allow for easier object-oriented programming in JavaScript.
Template literals make it easier to work with strings by allowing interpolation and multiline strings.
Creating react componont with api integration, list rendering and adding custom filterals
Coding exercise, custom hooks, UI related quetions
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...
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Even after answering all the questions correctly along with coding done with exact expected output you will get rejected becoz they are fake job interview or eye wash campaign it’s better to avoid.
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 4 May 2024
I applied via Approached by Company and was interviewed in Apr 2024. There were 3 interview rounds.
Custom hooks in React allow for reusable logic across components.
Custom hooks are functions that use React hooks internally and can be reused across multiple components.
They can encapsulate complex logic and state management, making components more modular and easier to maintain.
Example: A custom hook for fetching data from an API and handling loading and error states can be used in multiple components.
Example: A custo...
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.
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
Software Developer
18
salaries
| ₹3.6 L/yr - ₹10.5 L/yr |
Software Engineer
7
salaries
| ₹4 L/yr - ₹6.8 L/yr |
Senior Software Developer
6
salaries
| ₹9.9 L/yr - ₹21 L/yr |
Java Developer
4
salaries
| ₹3 L/yr - ₹5.6 L/yr |
Product Manager
4
salaries
| ₹8.6 L/yr - ₹11.2 L/yr |
TCS
Infosys
Wipro
HCLTech