Frontend
What happens if you put the async attribute on a script in the head? What is the difference between async and defer?
How to handle a function passed as a prop to a child component to avoid unnecessary re-renders?
Why can't useEffect be async?
How can you catch an error in a Promise? What type will the error be in catch?
Given three new types. You need to create a new generic type that will contain all the fields of these types (using union).
What is React.memo? Can you wrap the entire application in memo? Why is it bad to use memoization everywhere?
What is list virtualization, why is it needed, and how is it implemented?
Tell us about your experience and what you did at your last job.
Do you consider an unfinished task planned in a sprint as a personal defeat?
What is the state of a component?
In what order will the console.log calls in the given code with synchronous code, Promise, error handling, and timer execute?
Who from the team did you have to interact with on the last project?
Why are Promise 1 and Promise 2 executed in this particular order? How does the Event Loop handle microtask and macrotask queues?
What do you get recommended during code review? Provide a specific example of code simplification.
What validators have you worked with?
Review of Nuxt 2 device detection mixin ```javascript export default { data() { return { isMobile: window.innerWidth < 768 } } } ```
How to make a deep copy of an object? Tell me about structured clone, JSON.stringify, lodash cloneDeep — what are the differences?
Are you familiar with Signal Forms (experimental API)?
Design a React component to display a nested file and folder structure: correctly displays the nested structure, can hide and reveal folder contents, and dynamically fetches folder contents when they are expanded.
What are the pros and cons of CSS-in-JS compared to CSS modules?