When should you use useMemo and when useCallback? Should you use them everywhere?
Frontend
Tell about the useEffect hook — what it does and how it works?
What is a key in React and why are they needed?
Where and how will you monitor how long the component takes to render?
When should you NOT use an array index as a key in React?
Tell me about the principles of OOP
Tell me about optimizations in React. Why is React better compared to plain JavaScript?
What hooks can we use to store local state in React?
For caching server requests, which state manager would you use?
What will happen if you pass an array index as a key?
When should you use a State Manager, and when is local state or context sufficient?
Tell me about the architecture: why monolithic, and what types of architecture are you familiar with on the frontend?
What happens to list elements if their keys (indices) change?
Which hook allows storing state but does NOT trigger a render?
Which array methods mutate the array, and which do not?