What are the main stages of the Vue component lifecycle in Composition API and script setup?
Frontend
If the versions of direct dependencies in package.json are fixed exactly, why is package-lock.json still needed?
Is it necessary to handle the initial load separately so that the first request without a filter does not wait for the debounce timeout? Explain the solution.
How would you act if a page in a SPA application loads very slowly to improve performance?
Have you worked with micro-frontends? What ways are there to organize them?
What problem does the priority of local records solve when merging history with snapshot from the backend? What happens if this priority is changed?
Why does the context of 'this' get lost in the callback function of filter, and how to fix it?
Explain the purpose of queryKey and queryFn in TanStack Query and why parameters affecting the request should be included in queryKey.
Have you used Service Worker in practice?
Which team is participating in the interview and how many teams are there?
How was this query formed: through ORM, query builder, or was it SQL with parameters substituted?
What are the reasons a React component may re-render?
How to organize role-based access control in Express?
How did you work with large volumes of data, such as transaction tables?
What are the results of calling multiple counters created through closure with prefix increment ++count?
Do you have experience with TDD?
Implement the RLE (run-length encoding) function for compressing a string with repeating characters: replace sequences of identical characters with the character and the number of repetitions; if a character appears only once, do not output the count.
How does the browser render a page from the moment it receives HTML?
Do you have experience in full-stack development: creating BFF or maintaining the backend?
What does deep copying data on the backend protect against?