What is prop drilling, how to avoid it, and how many levels of prop passing do you consider acceptable?
Frontend
Why are keys in React needed and what happens when the key of a component changes?
What is React, why is Virtual DOM needed, and how does React apply changes to the DOM?
In a forceUpdate task: which components will re-render when the button is clicked and why?
What is a direct and indirect parent in React in the context of HOC?
What are debounce and throttle, how do they differ, and where are they used?
How does useMemo work if the dependencies array is passed, empty, or not passed?
Tell about SOLID principles and give examples for front-end development.
Tell about asynchronous JavaScript and Promise: why are they needed, what are the Promise states and main methods?
Have you worked with React Portal and what is it used for?
How to optimize a child component so that it does not re-render when the parent updates?
What is useEffect used for, how do dependencies affect it, and how is cleanup performed?
Explain how the Event Loop works in JavaScript, and what is the difference between microtasks and macrotasks?
What are literal types in TypeScript and what are they used for?
What React hooks do you usually use?
Will Child re-render when text is entered if the parent passes an onChange handler to it? How to optimize this?
What is Big O notation and how do you evaluate code complexity in practice?
What technologies and tools are you currently learning and how do you use AI tools in development?
What is React Fiber, why did it appear, can the commit phase be interrupted, and what do current tree and work-in-progress tree mean?
What architectural approaches do you know on the front end and what architecture would you choose for a small website, an online store, and a large application?