Sobes.tech

// [1, 2, 3, [4, [5]]] => [1, 2, 3, 4, 5] function

291

Do you know about the SameSite attribute in cookies? What are its values and what are the differences?

239

What problem arises when using async/await directly in useEffect?

209

How do you approach optimizing image loading for different screen resolutions?

202

What is the difference between server and client components in Next.js? Why were they introduced?

182

Tell me about the rendering modes in Next.js: SSR, SSG, ISR — what are their differences?

164

Why do we need to set width and height attributes for images?

162

What is the algorithmic complexity of the written solution?

161

Why specifically frontend? How did you come to frontend in general?

153

How can you optimize search in a component to avoid making a server request on every keystroke?

147

Can there be situations where using Next.js makes no sense and a regular SPA on React is sufficient?

145

You mentioned working with micro frontends. Can you tell how micro frontends were integrated, why they were chosen, and what problems arose?

145

Is there any point in wrapping the filtered list in useMemo in this component?

144

What is Next.js designed for? How does it differ from a regular SPA application?

140

Why is using array index as a key an anti-pattern in React?

140

A dynamic dashboard with many real-time changing charts — is it client-side rendering or server-side?

133

Type the written function in TypeScript using generics so that it works not only with numbers but also with other types.

132

Do client components participate in server-side HTML generation, or are they only executed in the browser?

131
/2