Frontend
What are Web Workers and when are they used?
Will Child re-render when text is entered if the parent passes an onChange handler to it? How to optimize this?
What is WebSocket and how is it established?
What do you like most about frontend and in which area do you want to develop?
What happens if you pass a function as an initial value to useState, and why is lazy initialization used?
The summary states that the task creation time was reduced from 11 to 4 minutes. What did not change during this process?
Who developed the rendering engine?
What is React, why is Virtual DOM needed, and how does React apply changes to the DOM?
Describe how interactive homework assignments were organized: JSON configurations, components, and their rendering?
Who worked on the JSON configuration structure?
How do you find bottlenecks and performance issues in a frontend application?
Why was JSDoc used in one of the projects instead of a full TypeScript? Why wasn't the transition initiated?
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.
Tell about asynchronous JavaScript and Promise: why are they needed, what are the Promise states and main methods?
What is coupling and cohesion in development?
Why is Next.js needed, what rendering methods does it support, and what happens if the top component is marked as a client component?
How does useMemo work if the dependencies array is passed, empty, or not passed?
What are debounce and throttle, how do they differ, and where are they used?
What does LCP (Largest Contentful Paint) mean to you?
Explain how the Event Loop works in JavaScript, and what is the difference between microtasks and macrotasks?