Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2022. There were 2 interview rounds.
React virtual DOM is a lightweight copy of the actual DOM, which allows React to efficiently update and render components.
React creates a virtual DOM tree that mirrors the actual DOM.
When changes occur, React compares the virtual DOM with the previous version to identify the minimal updates needed.
React then updates the virtual DOM and efficiently applies the changes to the actual DOM.
This process helps in optimizing p...
Redux is a predictable state container for JavaScript apps. Flow is a static type checker for JavaScript.
Redux is a state management library for JavaScript applications.
It helps in managing the state of an application in a predictable way.
It follows a unidirectional data flow pattern.
Flow is a static type checker for JavaScript that helps in catching errors before runtime.
It helps in improving the quality of code and r
Unit testing is a software testing technique where individual units or components of a software application are tested in isolation from the rest of the application.
Unit testing is done to ensure that each unit of the software application is working as expected.
It helps in identifying and fixing bugs early in the development cycle.
Unit tests are automated and can be run frequently to ensure that changes made to the cod...
Routing in React is the process of navigating between different components or pages based on the URL.
React Router is a popular library for handling routing in React
It allows for declarative routing with components and URLs
Routes can be defined with parameters and nested routes
Navigation can be done with Link and NavLink components
Programmatic navigation can be done with the useHistory hook
I appeared for an interview in Aug 2017.
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
JavaScript coding questions using map, filter, reduce.
React hooks coding example s.
Hii
I applied via Naukri.com and was interviewed in Nov 2021. There were 3 interview rounds.
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Authentication verifies a user's identity, while authorization determines what a user can access.
Authentication confirms a user's identity through credentials like username and password.
Authorization controls access to resources based on the authenticated user's permissions.
Example: Logging into a website (authentication) and then being able to view/edit specific pages based on your role (authorization).
To render a list in React, use map() function to iterate over an array of data and return a list of components. State is mutable data managed within a component, while props are immutable data passed from parent to child components.
To render a list in React, use map() function to iterate over an array of data and return a list of components.
Example: const items = ['item1', 'item2', 'item3']; items.map(item =>
Webpage optimization techniques include minifying CSS and JS files, optimizing images, using asynchronous loading for scripts, and reducing render-blocking scripts.
Minify CSS and JS files to reduce file sizes and improve loading times.
Optimize images by compressing them and using the correct file format (e.g. JPEG for photographs, PNG for graphics).
Use asynchronous loading for scripts to prevent them from blocking the ...
Use SCSS to apply background color to nested li elements and utilize mixins.
Use nesting to target the li elements within a parent element
Apply background color to the 2nd li element using the :nth-child() selector
Define and use mixins to reuse styles across the codebase
To fix cumulative layout shift issues, ensure all images and media have dimensions specified in HTML, use CSS aspect ratio boxes, and prioritize loading critical resources.
Specify dimensions for all images and media in HTML to prevent layout shifts.
Use CSS aspect ratio boxes to reserve space for images before they load.
Prioritize loading critical resources to avoid sudden layout changes.
I appeared for an interview in Jun 2024.
This is coding + mcq question
Technical Lead
3.2k
salaries
| ₹7 L/yr - ₹25 L/yr |
Software Engineer
3.1k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
2.6k
salaries
| ₹4.4 L/yr - ₹18 L/yr |
Lead Engineer
2.3k
salaries
| ₹4.3 L/yr - ₹14 L/yr |
Senior Analyst
2k
salaries
| ₹2 L/yr - ₹10 L/yr |
HCLTech
TCS
Tata Group
Wipro