Sobes.tech

Tell me about your work experience: where have you worked, and why are you changing jobs?

273

Why does using setTimeout(fn, 0) help avoid blocking the UI, and why does creating many promises (microtasks) not? What is the difference between macro-tasks and micro-tasks in the Event Loop?

232

The team is divided into sub-teams — which one can I join and how many frontends are there?

231

What state manager is used in the project?

230

What is the difference between null and undefined?

228

fetchAll(['url1', 'url2'], (results) => { console.log('Data for all links', results); }); function fetchAll(urls) { const promises = urls.map((url) => { fetch(url).then((res) => res.json()) }) const data = Promise.all(promises).then((response) => { if (!response.ok) { throw new Error('error') } return response }) console.log(data) }

224

If you have free time and two tasks on the board — a technical (refactoring) and a product one with the same priority — which one would you choose?

219

Promise.reject('Api Error') .then(data => console.log('ok')) .catch(error => { console.log(error); return '1'; }) .then(data => { console.log(data); });

208

Tell us more about offline functionality: how does data saving work in IndexedDB when the internet is lost?

189

Have you had tasks related to website performance optimization? How did you diagnose and solve slow loading issues?

178

Do you know what Feature Sliced Design (FSD) is?

173

What are your professional development plans for the next 3–5 years? What areas are you interested in?

169

There are three anti-patterns in the handleCityChange function on line 52. Find and explain them.

168

Tell about batching in React. Where have you encountered it in practice?

166

How would you diagnose a memory leak or unnecessary re-renders of a component in React?

164

Why is the async keyword needed before a function? What does it do?

163

Implement a delay(ms) function that returns a promise resolving after the specified time.

162

Do you use AI tools in work and personal life, and how do you feel about them?

162

What data types are available in Java?

162
/3