Sobes.tech

Have you ever worked with ready-made component libraries?

Middle
НЕОЛАНТ
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

```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
Альфа
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

Why use a state manager in React if there is Context?

Middle
НЕОЛАНТ
0

Have you had experience working with Storybook?

Middle
Kostylworks
0

Why did you decide to look for a new job and leave your last company?

Middle
Kostylworks
0

When is it better to use Flexbox and when CSS Grid?

Middle
Kostylworks
0

What is a design system from a development perspective, not just layouts in Figma?

Middle
Kostylworks
0

How is CSS selector specificity calculated: what is stronger — inline styles, !important, ID, classes, or tags?

Middle
Kostylworks
0

What does the CSS property will-change do?

Middle
Kostylworks
0

What is type narrowing?

Middle
Kostylworks
0

What does the Mobile First approach mean in layout design?

Middle
Kostylworks
0

What is Shadow DOM and why is it needed?

Middle
Kostylworks
0

What do you know about monorepos and how do tools like Nx and Turborepo differ?

Middle
Kostylworks
0

Why use cookies, localStorage, sessionStorage, and IndexedDB, and what are the differences between them?

Middle
Kostylworks
0

What Core Web Vitals and other web performance metrics do you know?

Middle
Kostylworks
0

What do you usually add and describe in Storybook?

Middle
Kostylworks
0

How often do you go through interviews?

Middle
Kostylworks
0
/298