Sobes.tech

What is layout shift, why does it happen, and how to avoid it?

Middle
Kostylworks
4

What does the Mobile First approach mean in layout design?

Middle
Kostylworks
3

Implement a product search in an Angular scaffold: uncomment the input with label, handle input with debounce, call searchProducts function, and display results. Use Angular Signals, not only RxJS/Subject.

Middle
Kostylworks
3

How do arrow functions differ from regular function declaration/function expression?

Middle
НЕОЛАНТ
3

[name] asked: What can you say about the pros and cons of working at Yandex?

Middle+
Яндекс
3

var a = { firstName: 'Bill', lastName: 'Ivanov', sayName: function() { console.log(this.firstName); }, sayLastName: () => { console.log(this.lastName); } }; a.sayName(); // var b = a.sayName; b(); // a.sayName.bind({ firstName: 'Boris' })(); // a.sayName(); // a.sayLastName(); // a.sayName.bind({ firstName: 'Boris' }).bind({ firstName: 'Tom' })(); // a.sayLastName.bind({ lastName: 'Petrov' })(); //

Senior
Альфа
2

What React hooks have you used? Which versions of React have you worked with, and do you have experience with vanilla JavaScript?

Middle
НЕОЛАНТ
2

console.log(allo); var allo = 'Я var'; function allo() { console.log('Я function declaration'); } console.log(allo); Explain the output of this code snippet.

Senior
Альфа
2

The application is unresponsive or hangs, scrolling and clicks work with lag. How would you diagnose the problem?

Middle
Kostylworks
2

```typescript var a = { firstName: 'Bill', lastName: 'Ivanov', sayName: function() { console.log(this.firstName); }, sayLastName: () => { console.log(this.lastName); } }; a.sayName(); // var b = a.sayName; b(); // a.sayName.bind({ firstName: 'Boris' })(); // a.sayName(); // a.sayLastName(); // a.sayName.bind({ firstName: 'Boris' }).bind({ firstName: 'Tom' })(); // a.sayLastName.bind({ lastName: 'Petrov' })(); // ``` The containing arrow function captures the global value of 'this'.

Senior
Альфа
1

What does the CSS property will-change do?

Middle
Kostylworks
1

Refactor the given React code to improve its structure and readability. The code includes a product list with search functionality, a cart count, and a sum of prices. Implement the fetchProducts function to simulate fetching products with a delay and possible error. Use React hooks such as useState, useEffect, and useCallback appropriately. Ensure the UI updates correctly when adding products to the cart and clearing the cart.

Senior
Альфа
1

What utility types in TypeScript do you know, for example Pick, Partial, Omit?

Middle
Kostylworks
0

There is a search filter with debounce: the first request goes for one word, then the second — for a new word, but the first response arrives last and overwrites the UI. How to deal with this in Angular?

Middle
Kostylworks
0

What do you usually add and describe in Storybook?

Middle
Kostylworks
0

[name] asked: What independent ideas did you propose to achieve the goals or improve the product? Provide a specific example of a result.

Middle+
Яндекс
0

There is a product showcase with many widgets that starts to lag on mobile devices. What and how will you optimize?

Middle
Kostylworks
0

What does your typical Git flow look like when working on a task: from receiving the task to merging?

Middle
Kostylworks
0

What is race condition?

Middle
Kostylworks
0
/298