If a function is used in the dependencies array of useEffect, should it be wrapped in useCallback?
Frontend
What is useMemo used for? What heavy computations can be on the frontend?
[name] talked about himself and his experience in frontend development.
What is the difference between git fetch and git pull?
Are you willing to work in an office?
What is the React hook useRef used for?
What is useEffect used for? Provide examples besides HTTP requests.
How have you applied SOLID principles when developing frontend components?
Situational task: synchronous upload of large XML files led to CPU-bound overload, timeouts, and disconnections. How to change the interaction between frontend and backend so that the server handles the flow and the user sees the progress?
If conflicts with another developer's code are found when creating a merge request, what will you do and how to minimize such conflicts in the future?
Have you worked with useLayoutEffect and how does it differ from useEffect?
Briefly tell about your experience in logistics from 2016 to 2021: what did you do?
What is the component-based approach in React as an architectural pattern? How can it be applied to the shown code?
What are useCallback and useMemo used for, and what is the downside of overusing these hooks?
There is a similar component for working with dates that covers 90% of needs but differs in props and contains hardcoded styles. How would you proceed?
Have you used git rebase?
What do you understand by the term "creating high-load interfaces"?
Situational task: you need to create a page for uploading XML files from scratch, the server processes them with CPU-bound tasks for a long time and returns a protocol. What are your first steps before writing code?
Have you experienced migrating legacy code, in particular gradually introducing TypeScript into a large project without tests?
Situational task: the processing result may contain thousands or tens of thousands of remarks; the response takes a long time, and the browser hangs during rendering. What do you suggest?