// [1, 2, 3, [4, [5]]] => [1, 2, 3, 4, 5] function
Frontend
Do you know about the SameSite attribute in cookies? What are its values and what are the differences?
Do you know about CSRF attack?
What problem arises when using async/await directly in useEffect?
How do you approach optimizing image loading for different screen resolutions?
What is the difference between server and client components in Next.js? Why were they introduced?
Tell me about the rendering modes in Next.js: SSR, SSG, ISR — what are their differences?
Why do we need to set width and height attributes for images?
What is the algorithmic complexity of the written solution?
Why specifically frontend? How did you come to frontend in general?
How can you optimize search in a component to avoid making a server request on every keystroke?
What scenarios have you covered with E2E tests?
Can there be situations where using Next.js makes no sense and a regular SPA on React is sufficient?
You mentioned working with micro frontends. Can you tell how micro frontends were integrated, why they were chosen, and what problems arose?
Is there any point in wrapping the filtered list in useMemo in this component?
What is Next.js designed for? How does it differ from a regular SPA application?
Why is using array index as a key an anti-pattern in React?
A dynamic dashboard with many real-time changing charts — is it client-side rendering or server-side?
Type the written function in TypeScript using generics so that it works not only with numbers but also with other types.
Do client components participate in server-side HTML generation, or are they only executed in the browser?