All 51 questions
What is Redux?
Asked in 9 of 228 interviews · last asked Nov 9 · Concept · Junior
Show answer
Redux is a JavaScript library for managing shared application state in a central store. You dispatch actions to describe changes, and reducers calculate the next state. With React, React Redux connects components to the store. Redux Toolkit is the recommended way to write Redux logic with less code.
- Redux works with React, but it can also be used without React.
- Reducers must be pure and must not mutate existing state.
- Redux Toolkit uses Immer so you can write updates that look like mutations but produce immutable state.
- Redux helps with complex shared state; local component state is often enough for simpler needs.
What the interviewer checks: The interviewer checks whether you understand Redux’s data flow, its role with React, and when it is useful.
Other ways it was asked
- “Can you explain what Redux does?”
- “What is Redux, and how does it help manage application state?”
- “What is Redux, and how is it used with React?”
How is an observable different from a promise?
Asked in 3 of 228 interviews · last asked Nov 16 · Concept · Junior
Other ways it was asked
- “What is the difference between a promise and an observable?”
- “What is the difference between observables and promises?”
What is the virtual DOM, and how is it used in frontend development?
Asked in 3 of 228 interviews · last asked Nov 6 · Concept · Junior
Other ways it was asked
- “What is the virtual DOM, and how does it work?”
- “Can you explain what a virtual DOM is?”
How do you use AbortController with React effect cleanup to cancel outdated requests and requests on unmount?
Asked in 2 of 228 interviews · last asked Jul 26 · Scenario · Senior
Other ways it was asked
- “In React, where would you create and store the AbortController, and how would you ensure it aborts on unmount or when a new request starts?”
- “In React 18, if the user types into a search box and you fetch suggestions on each keystroke, how would you structure this with useEffect cleanup and AbortController to avoid both stale updates and wasted network?”
How do you prevent promise callbacks from updating React state after unmount or a newer request?
Asked in 2 of 228 interviews · last asked Jul 16 · Scenario · Mid-level
Other ways it was asked
- “How do you prevent setting state from a resolved promise after a component unmounts or after a newer request has already started?”
- “How would you prevent a React component from updating state after it has unmounted?”
What is the difference between React and plain JavaScript in terms of their core purposes and functionalities?
Asked in 2 of 228 interviews · last asked Sep 13 · Concept · Junior
Other ways it was asked
- “What is the difference between React and plain JavaScript?”
What is RxJS?
Asked in 2 of 228 interviews · last asked Nov 16 · Concept · Junior
Do you know the differences between signals and RxJS?
Asked once · last asked Mar 24 · Concept · Mid-level
Other ways it was asked
- “When would you use signals, and when would you use RxJS?”
What design pattern does the RxJS library implement?
Asked once · last asked Mar 24 · Concept · Mid-level
What is a cold observable?
Asked once · last asked Mar 24 · Concept · Mid-level
What is a subscription in RxJS, and what is its purpose?
Asked once · last asked Mar 24 · Concept · Junior
Other ways it was asked
- “What is a subscription, and what is its purpose?”
What is hydration in web applications?
Asked once · last asked Mar 24 · Concept · Mid-level
Other ways it was asked
- “What is hydration?”
How do Angular Signals differ from Observables?
Asked once · last asked Mar 27 · Concept · Mid-level
Why was `bind` commonly used in older versions of React?
Asked once · last asked Apr 27 · Concept · Mid-level
Can you build a simple counter component in React using JavaScript?
Asked once · last asked May 26 · Write code · Junior
How can a child component communicate with its parent?
Asked once · last asked Jun 18 · Concept · Junior
In React, how does JavaScript closure behavior affect useEffect or event handlers, and how do you avoid stale state or props?
Asked once · last asked Jul 3 · Concept · Senior
When a user clicks a Generate button in React, what happens, and how do you pass request parameters?
Asked once · last asked Jul 30 · Tooling · Mid-level
What is the virtual DOM in React? Also, explain the event loop in Node.js.
Asked once · last asked Aug 10 · Concept · Junior
When I click a button in a React component and expect a list of products from an API, what are the steps from click to the list showing on the screen?
Asked once · last asked Sep 2 · Scenario · Mid-level
In React, can you write code to fetch data from multiple APIs simultaneously and show it in the UI?
Asked once · last asked Sep 17 · Write code · Mid-level
How do you send a POST request to an API from a React frontend?
Asked once · last asked Sep 30 · Tooling · Junior
How do you model derived server state such as loading, error, data, pagination, and cache invalidation versus UI state, and where do you draw the boundary?
Asked once · last asked Oct 3 · Design · Senior
How would you implement optimistic updates for a mutation in Redux Toolkit, including rollback on failure while keeping derived selectors consistent?
Asked once · last asked Oct 3 · Scenario · Senior
How can one part of a user interface immediately update another, such as a cart count or account balance?
Asked once · last asked Oct 9 · Scenario · Mid-level
What are higher-order operators in RxJS, and when would you use them in an Angular application?
Asked once · last asked Oct 9 · Concept · Mid-level
How can I use the user details from the login response on later pages without another database call or API request?
Asked once · last asked Oct 10 · Scenario · Mid-level
In a React application with two pages, how would you implement a timer that pauses when the user navigates away and resumes from its previous value when they return?
Asked once · last asked Oct 12 · Scenario · Mid-level
Other ways it was asked
- “In React, I have two pages. A timer is increasing, and when the user navigates to another page, the timer should pause. When the user returns to the timer page, it should restart from where it previously stopped. How do you resolve it?”
How can Redux handle asynchronous operations, and what role does Redux Saga play?
Asked once · last asked Oct 15 · Concept · Mid-level
How would you implement image uploads, pagination, and Excel import/export in a React application?
Asked once · last asked Oct 23 · Scenario · Mid-level
What limitations does the Fetch API have, and what problems does React Query help solve?
Asked once · last asked Dec 29 · Concept · Mid-level
How would you manage client-side state across steps for input values, validation errors, submission status, and result data?
Asked once · last asked Oct 25 · Scenario · Mid-level
Other ways it was asked
- “How would you manage client-side state across steps for input values, validation errors, submission status, and result data, and prevent stale results from appearing after edits?”
When using RxJS forkJoin, how would you identify which API call failed?
Asked once · last asked Oct 27 · Scenario · Mid-level
What RxJS mapping operators are available, and how do they differ?
Asked once · last asked Oct 27 · Concept · Mid-level
When would you use mergeMap instead of concatMap?
Asked once · last asked Oct 27 · Concept · Mid-level
What does Angular give you instead of just working with plain JavaScript?
Asked once · last asked Oct 27 · Concept · Mid-level
How would you handle shared state or communication between microfrontend applications?
Asked once · last asked Oct 28 · Scenario · Senior
Other ways it was asked
- “Since you worked on microfrontend, how did you handle shared state or communication between apps?”
Can you implement a search and filtering functionality for the React table, searching by name, department, role, and status only when the user clicks the search button, and clearing it with the clear button?
Asked once · last asked Oct 30 · Write code · Mid-level
In a lead-deal pipeline, how would a user action such as dragging and dropping a lead into a new stage flow through the frontend?
Asked once · last asked Nov 5 · Scenario · Mid-level
Why might a React component store filtered products in a variable before passing them to setProducts?
Asked once · last asked Nov 9 · Concept · Mid-level
Could you give me an overview of RxJS and when you would use it in your application?
Asked once · last asked Nov 9 · Concept · Mid-level
How can you implement the Observable pattern using a framework or library?
Asked once · last asked Nov 9 · Concept · Mid-level
Does Redux manage page state or application state?
Asked once · last asked Oct 10 · Concept · Junior
What is an RxJS observable, and how would you explain it?
Asked once · last asked Mar 24 · Concept · Junior
How do you handle errors in Observables?
Asked once · last asked Apr 16 · Concept · Mid-level
What are the core JavaScript concepts used in React?
Asked once · last asked Jun 4 · Concept · Mid-level
How do actions and reducers work in Redux?
Asked once · last asked Jun 19 · Concept · Junior
What are TypeScript and RxJS, and can you explain components, modules, promises, and switchMap?
Asked once · last asked Aug 10 · Concept · Junior
What is the difference between pipe and filter?
Asked once · last asked Sep 2 · Concept · Junior
What is a closure in React?
Asked once · last asked Oct 6 · Concept · Mid-level
How would you implement Add to Cart functionality?
Asked once · last asked Nov 11 · Write code · Junior
Other ways it was asked
- “Can you walk me through your Add to Cart implementation?”
More JavaScript interview questions
- All JavaScript interview questions
- JavaScript Basics Interview Questions
- JavaScript Async and Event Loop Interview Questions
- Node.js, TypeScript and JavaScript Tooling Interview Questions
How this list is made
Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.
Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.
The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every JavaScript interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.
228 interviews, 160 candidates, Nov 2025 to Nov 2026. Updated every month with new interviews.
Or add the Chrome extension