Explain what the useEffect hook does in React. Describe how it helps manage side effects in functional components, and provide examples of using it with dependencies, without dependencies, and with an empty dependency array.
Explain how the useState hook is used in a React application to manage state within functional components. Describe how updating state triggers a re-render and updates the UI accordingly. Provide an example to illustrate how useState works in practice.
Explain how you would fetch data from an API in a React application. Walk through where and how the API call should be placed inside a React component, how to handle loading and error states, and how the fetched data can be stored in state and displayed in the UI. Provide an example using hooks like useEffect and useState.
Explain how to implement routing in a React application using React Router DOM. Walk through the process of setting up routes, defining components for different paths, and navigating between them. Also describe the difference between <BrowserRouter>, <Routes>, and <Route>, and provide a simple code example that demonstrates navigation between multiple pages
Explain how you would store user data using Firebase (e.g., Firestore or Realtime Database) and local storage in a React application.
Explain how you would set up navigation in a React JS project using React Router DOM.
Provide a small example with Home, About, and Contact pages to show the setup in action.
What’s the difference between == and === operators in JavaScript? How do linked lists and arrays differ as data structures? What does recursion mean in programming, and how does it work? Could you describe what stacks and queues are and how they’re used?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?