What design patterns do you use (DRY, SOLID, GRASP, etc.)?
Frontend
What are the differences between useEffect and useLayoutEffect hooks?
What new features appeared in React 19? Tell us about Concurrent Mode and startTransition.
What methods of working with context (this) exist? What is the signature of the call method? How does call differ from apply?
In what cases does a component re-render in React?
What does the typeof operator return for null?
What are the phases of browser events (bubbling and capturing)? How to stop bubbling? How to prevent default action?
What is the purpose of the OPTIONS method? When is it sent automatically?
What HTTP headers are important for frontend developers in terms of performance optimization (e.g., caching)?
How do you react to code with O(n²) complexity during code review?
What is the signature of the reduce method on arrays? What should be returned from the callback on each iteration?
Why did you decide to use an iFrame for the preview mode?
Tell me about Promise: states, static methods (all, any, allSettled, race). What does Promise.all return if one of the promises fails?
TypeScript task: Is the call to the getUsername function with an object of type IUser (a custom consumer interface) correct if the field structure matches TUser from the library? Explain the principle of structural typing.
What are the ways to declare functions in JavaScript? How does function declaration differ from function expression? How does arrow function differ from function declaration?
Tell about CORS: what is it for, what headers are used?
Have you ever used the 'any' type in TypeScript? What can replace it?
What is the use of the useRef hook?
Does CSS block page rendering?
Is there code review in your project? What standards and requirements are used for the code?