Tell me about your work experience: where have you worked, and why are you changing jobs?
Frontend
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?
The team is divided into sub-teams — which one can I join and how many frontends are there?
What state manager is used in the project?
What is the difference between null and undefined?
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) }
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?
What does typeof null return?
Promise.reject('Api Error') .then(data => console.log('ok')) .catch(error => { console.log(error); return '1'; }) .then(data => { console.log(data); });
Tell us more about offline functionality: how does data saving work in IndexedDB when the internet is lost?
Have you had tasks related to website performance optimization? How did you diagnose and solve slow loading issues?
Do you know what Feature Sliced Design (FSD) is?
What are your professional development plans for the next 3–5 years? What areas are you interested in?
There are three anti-patterns in the handleCityChange function on line 52. Find and explain them.
Tell about batching in React. Where have you encountered it in practice?
How would you diagnose a memory leak or unnecessary re-renders of a component in React?
Why is the async keyword needed before a function? What does it do?
Implement a delay(ms) function that returns a promise resolving after the specified time.
Do you use AI tools in work and personal life, and how do you feel about them?
What data types are available in Java?