From a security perspective, does anything in the implementation of the html method concern you?
Frontend
What is the purpose of the OPTIONS method?
[name] asked: How would useLayoutEffect work in such conditions? Continuing the metaphor, what is useLayoutEffect? How does it differ from useEffect?
[name] asked: What do you think makes a good code review? How would you handle condescending and nitpicking attitudes during reviews in a team?
How is the OPTIONS method related to CORS (Cross-Origin requests)?
Have you tried working with Vue 3? What difficulties did you face, for example, with typing in TypeScript?
What does this number (delay) in setTimeout mean from the perspective of the Event Loop? Explain technically how setTimeout works in the browser — where the task is placed, in which queue (microtasks, macrotasks, call stack)?
[name] asked: Can you give a specific example of controversial issues with designers or business clients? Who had the final say?
Why are tokens stored in cookies rather than in localStorage? How is this security technically achieved?
Tell me more about the HTTP protocol: what is it and what methods are used?
What will happen to the call stack and task queue during this infinite recursion?
There is a useState hook that returns a tuple [number, setNumber]. In some function, we call setNumber(number + 1) twice in a row. What will happen?
What does the term 'from the book' mean in the context of your project with effects (rain, vibration, etc.)? How does it look from an implementation perspective?
Is it possible to use HTTP methods not for their direct purpose, for example, using GET for deleting or updating data?
[name] asked: Have you ever simplified a solution to speed up delivery so it could reach production faster? Can you give an example?
From a syntax and code structure perspective, what would you refactor in this function?
What cookie attributes do you remember?
[name] asked: In Next.js, did you have the App Router or Pages Router? Or have you worked in both eras?
Do you see any problems with the naming in this code?
Bonus task: given a code with a function MySync that takes a parameter start (default 0), logs it to the console, uses a Promise and recursively calls itself inside resolve, plus a separate setTimeout. Explain what will happen here and what will be logged to the console.