Sobes.tech

How do you evaluate the sorting in the application — does it work correctly?

Middle
163

Have you ever missed a deadline? How did you realize in advance that you wouldn't make it, and when did you inform about it?

Middle
162

How does the Event Loop work? What are macro-tasks and micro-tasks? What belongs to micro-tasks?

Middle+
161

What is the purpose of requestIdleCallback?

Middle+
160

Was there any format for system analysis or was it just discussed verbally and points were recorded in the task? Was there a document or a page in Confluence describing what needs to be done?

Middle
159

How was the development process organized at your last workplace? In what form did tasks arrive, how did they get into production, and what was your role in this process?

Middle
159

Have there been bugs in production after the entire process?

Middle+
158

Какие способы знаешь для организации асинхронного выполнения в JavaScript?

Middle+
157

Why did you decide to change companies?

Middle+
157

import React, { useMemo } from 'react'; import { Button, Table, Tag } from 'antd'; import { useAppDispatch, useAppSelector } from '../hooks/redux'; import { Product } from '../types'; import { deleteProduct } from '../store/productSlice'; const categoryColors: Record<string, string> = { Electronics: 'blue', Accessories: 'green', Tools: 'orange', }; export const ProductList: React.FC = () => { const allProducts = useAppSelector((state) => state.products.items); const products = useMemo(() => [...allProducts], [allProducts]); const dispatch = useAppDispatch(); const handleDelete = (id: string) => { dispatch(deleteProduct(id)); }; const columns = [ { title: 'Name', dataIndex: 'name', key: 'name', }, { title: 'Sales', dataIndex: 'sales', key: 'sales', sorter: (a: Product, b: Product) => a.sales - b.sales, render: (v: number) => v.toLocaleString(), }, { title: 'Category', dataIndex: 'category', key: 'category', render: (category: string) => ( <Tag color={categoryColors[category]}>{category}</Tag> ), }, { title: 'Action', key: 'action', render: (_: any, record: Product) => ( <Button danger onClick={() => handleDelete(record.id)}> Delete </Button> ), }, ]; return <Table dataSource={products} columns={columns} rowKey="id" />; };

Middle
156

How do you feel about learning? How do you allocate time for development?

Middle+
156

Have you worked with databases in home projects? Did you perform queries from tables, insertions?

Middle
156

What have you worked with the most? Is there a particular area or library you have more experience with than others? Tell us about the specifics of your last workplace.

Middle+
153

What is the difference between Promise.race and Promise.any?

Middle+
151

Is it possible to use a library for virtual scrolling? How to implement virtualization via @tanstack/virtual?

Middle
151

There is code with an IIFE that returns an object with a value field and a setValue method. What will be printed to the console after calling setValue(2) and accessing the value field? What needs to be fixed for 2 to be printed?

Middle+
150

Do you use a quick trial method when solving unfamiliar problems?

Middle+
150

What is the difference between Map and Set in JavaScript?

Middle+
150

Which task was not immediately easy, and required some effort?

Middle
149

In what cases have you had to use a readable stream?

Middle+
149
/6