Filter interviews by
I applied via Approached by Company and was interviewed in Dec 2023. There was 1 interview round.
State can be managed between sibling components using Redux and local storage.
Create a Redux store to manage the state
Define actions and reducers to update the state
Connect the sibling components to the Redux store
Use local storage to persist the state between page reloads
To deploy a React app on S3, you need to build the app, create an S3 bucket, configure bucket permissions, and upload the build files.
Build the React app using 'npm run build' command
Create an S3 bucket on AWS console
Configure bucket permissions to allow public access
Upload the build files to the S3 bucket
Enable static website hosting on the S3 bucket
Access the deployed React app using the S3 bucket URL
Microfrontend approach in React is a technique of breaking down a large frontend application into smaller, independent and reusable parts.
Microfrontend approach helps in modularizing the frontend codebase.
Each microfrontend can be developed, deployed, and maintained independently.
Microfrontends can communicate with each other through APIs or events.
This approach allows different teams to work on different parts of the ...
Create a new array by adding elements from two different arrays at the same indexes.
Use the map() method to iterate over one of the arrays.
Access the elements at the same index from both arrays and concatenate them.
Return the new array of concatenated strings.
Top trending discussions
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
React offers advantages such as virtual DOM for improved performance, reusable components, and easy integration with other libraries.
Virtual DOM for efficient updates and improved performance
Reusable components for easier development and maintenance
Easy integration with other libraries like Redux for state management
Support for server-side rendering for better SEO performance
Performance optimization in React Js can be achieved through code splitting, memoization, virtualization, and minimizing re-renders.
Implement code splitting to load only necessary components when needed
Use memoization techniques like useMemo and useCallback to prevent unnecessary re-renders
Implement virtualization for long lists or tables to render only visible items
Minimize re-renders by using shouldComponentUpdate or
useMemo and useCallback are hooks in React used for optimizing performance by memoizing values and functions respectively.
useMemo is used to memoize the result of a function so that it is only recomputed when its dependencies change.
useCallback is used to memoize a function instance so that it is not recreated on every render unless its dependencies change.
Both hooks help in optimizing performance by preventing unneces...
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
Got a link on mail to give online clearance test. 25 questions on react, Js and html-css
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
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
React js and JavaScript scenarios based problems.
Ternary operator is a shorthand for if else statement in JavaScript.
Ternary operator is written as condition ? expression1 : expression2
If the condition is true, expression1 is executed, else expression2 is executed
Ternary operator is more concise and can be used inline in JSX
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.
MCQ based Questions were asked
Yes, I follow CI/CD process to automate testing and deployment.
I use tools like Jenkins, GitLab CI, or CircleCI to automate the build, test, and deployment process.
I write unit tests and integration tests to ensure code quality before deployment.
I regularly push code changes to version control and trigger automated builds and tests.
I use continuous integration to merge code changes frequently and detect issues early in
CI/CD process is a software development practice that involves continuous integration, continuous delivery, and continuous deployment.
Continuous Integration (CI) involves automatically building and testing code changes frequently.
Continuous Delivery (CD) ensures that code changes are always in a deployable state.
Continuous Deployment (CD) automatically deploys code changes to production environments.
CI/CD helps in redu...
useSelector is a hook provided by React-Redux for accessing the Redux store state in functional components.
Allows functional components to access the Redux store state without connecting to the store
Accepts a selector function as an argument to specify which part of the state to extract
Automatically subscribes to the Redux store updates and re-renders the component when the selected state changes
Optimization in React involves improving performance and efficiency of the application.
Use shouldComponentUpdate or PureComponent to prevent unnecessary re-renders
Avoid using inline functions in render method to prevent re-renders
Use keys in lists to help React identify which items have changed
Splitting components into smaller ones can improve performance
Use React.memo for functional components to memoize the result
JSX is a syntax extension for JavaScript used in React to write HTML-like code within JavaScript.
JSX allows developers to write HTML-like code directly in their JavaScript files
It makes the code more readable and easier to understand
JSX gets transpiled into regular JavaScript by tools like Babel before being rendered by the browser
Redux flow in React involves actions, reducers, store, and components to manage state in a centralized manner.
Actions are dispatched to describe what happened in the application.
Reducers specify how the state changes in response to actions.
Store holds the state of the application.
Components can connect to the store to access and update the state.
Just MCQ questions related to React, Javascript, HTML, CSS
Capitalize last letter of each word in a string and fetch data from API to display in tabular form using React JS.
Split the string into an array of words
Iterate through each word and capitalize the last letter
Join the words back together to form the modified string
Use React JS to fetch data from API and display in a tabular form
Senior QA Analyst
4
salaries
| ₹10.5 L/yr - ₹14 L/yr |
Java Technical Lead
4
salaries
| ₹35 L/yr - ₹100 L/yr |
Associate Vice President
3
salaries
| ₹22.5 L/yr - ₹28.5 L/yr |
Manager Architect
3
salaries
| ₹40 L/yr - ₹51 L/yr |
Team Lead
3
salaries
| ₹8.8 L/yr - ₹11 L/yr |
State Bank of India
HDFC Bank
ICICI Bank
Axis Bank