Frontend
What moments can cause HTML parsing to pause or slow down?
What are the main disadvantages and problems of signals, especially when working with effects?
What other utility types in TypeScript do you know? Name the most popular ones.
What can break the machine movement interpolation/extrapolation mechanism?
The code uses forwardRef for a button — what is it for and what will happen if it is not used?
To avoid passing the onToggle prop through all levels of nesting, what alternative can be used?
Tell me about optimizing page performance in Nuxt: what challenges have you faced, what problems have you solved, and how did you do it?
Were there people at work with whom it was difficult to communicate? Were any measures taken?
The bundle was 1.5 MB, now it is 700-800 KB. How was the bundle size reduced? How would you now start optimizing a 2 MB bundle?
Explain the attributes async and defer in the script tag. What are they and what is the difference?
There is code that recursively spams micro-tasks. A user visits the page and clicks a button. Will the click work?
What causes a component to re-render in React?
Tell about yourself as a person, your strengths and weaknesses?
Why can't arrow functions be used with the new constructor?
What courses have you studied or learned on your own in frontend development?
How to protect yourself from a situation where an invalid JSON is stored in localStorage under a key?
What is the Critical Rendering Path and what are its main stages?
// Describe a type that represents JS objects with a private // identifier and a method to get it, as well as a creation date field. // The identifier can contain a number or a string. // The creation field can also contain a string or a number. // The identifier and creation date field always have the same type. let a = { getId: () => 1, createdAt: [phone] } let b = { getId: () => 'id', createdAt: '[phone]T20:00:00Z' }
Which placement of the action button is better: in the center of the screen or at the right edge? (mobile interface)
How to make the last breadcrumb item non-clickable?