What is package-lock.json for?
Frontend
Describe the messenger API: what endpoints are needed for chats, messages, contacts, sending messages, and uploading attachments?
What do you think about FSD architecture? Does it create problems that the logic of one entity is spread across project layers?
What exactly does package-lock.json lock: only dependencies from package.json or also transitive dependencies?
Why is Map chosen as the data structure for implementing LRU cache?
What do you think about CSS-in-JS, for example Styled Components?
What is ARIA and when should it be used?
What is the next() method of an iterator and what does it return?
Write a native JavaScript function that renders a tree list based on a given data structure in a specified HTML container.
Tell us about pet projects or projects you led in parallel.
Why is cursor preferred over offset for message pagination?
Have you encountered cross-browser issues and how did you solve them?
What is MVC and what are Model, View, and Controller responsible for?
How was work planning and resource allocation carried out in the team?
What storage methods exist in the browser and what is logical to store in each of them?
How did you work with design: was everything done strictly according to the mockups or did you participate in improving UX?
What are the pros and cons of micro-frontends?
What VS Code settings and plugins do you consider essential?
Design a messenger: study functional requirements, formulate non-functional requirements, choose a tech stack, describe frontend architecture and component scheme, interaction with backend, API, and data models, then system design.
How to ensure that the user can always find the desired bird in their library even with poor internet or offline?