Frontend
What lifecycle hooks were available in Vue 2?
How would you rate the difficulty of filling a 5×5 matrix with unique random integers from 0 to 1000?
Bonus task: given a code with a function MySync that takes a parameter start (default 0), logs it to the console, uses a Promise and recursively calls itself inside resolve, plus a separate setTimeout. Explain what will happen here and what will be logged to the console.
What will happen if one of the uploaded files is very large?
Describe a complex trade-off you have faced.
What was your approach to writing CSS? Are you familiar with the CSS-in-JS approach?
What principles do you follow when designing architecture and choosing technologies?
What can be in the queue of JavaScript micro-tasks?
What is event handling in React? What is a synthetic event?
Have you worked with Blob? How to create a download link for a dynamically generated file?
What is the difference between setTimeout and await promise in terms of microtasks and macrotasks in the event loop?
How would you work with AI when creating a product card component? What prompt would you write?
What is a component in React? Have you made components yourself? What is the difference between controlled and uncontrolled components?
What is the Event Loop and how does it work in JavaScript?
Tell me about the specificity of CSS selectors and their priority
How do you monitor code quality? Linters, pre-commit hooks, or something else?
What is the difference between the array methods forEach and map?
How does the mechanism work when primitives (e.g., strings) can have methods called on them, even though primitives should not have methods?
What are the ways to optimize performance in React?
What is the difference between storing data in an array and in an object in terms of memory? Which storage method (two-dimensional array or two-dimensional object) is easier on memory?