Sobes.tech

Tell about SSR, CSR, and SSG — what is the difference?

Middle
281

What is gRPC and what is it used for?

Middle
202

Tell about architectural approaches: FSD, modular monolith. Which architecture to choose for a small MVP?

Middle
196

How to handle a long asynchronous operation on the client side (virus scan, up to an hour)?

Middle
189

What are Pick and Omit in TypeScript?

Middle
173

What happens with display:none vs visibility:hidden in terms of reflow and repaint?

Middle
173

What are keyof and typeof in TypeScript?

Middle
172

Does changing a private method violate the Open/Closed principle?

Middle
164

// What will be printed to the console? const p1 = Promise.resolve(1); const p2 = new Promise((_, reject) => setTimeout(() => reject("Error"), 100)); const p3 = Promise.resolve(3); Promise.all([p1, p2, p3]) .then(console.log) .catch(console.error); Promise.allSettled([p1, p2, p3]).then(console.log);

Middle
163

```javascript console.log("Start"); setTimeout(() => { console.log("Timeout 1"); Promise.resolve().then(() => console.log("Promise inside Timeout")); }, 0); Promise.resolve() .then(() => { console.log("Promise 0"); setTimeout(() => console.log("Timeout inside Promise"), 0); }) .catch(() => console.log("Promise 1")) .then(() => console.log("Promise 2")); function foo() { Promise.resolve().then(() => { console.log("Promise 3"); foo(); }); } foo(); requestAnimationFrame(() => { console.log("RequestAnimationFrame"); }); console.log("End"); // Start // END // "Promise 0" // Promise 2 // // Timeout 1 // Promise inside Timeout // RequestAnimationFrame // Timeout inside Promise ```

Middle
161

What authentication and authorization protocols do you know? Tell me about JWT.

Middle
159

HTTP status codes: what do 401, 403, 500, 200, 201 mean?

Middle
156

What is the difference between REST and GraphQL?

Middle
155

Which CSS properties cause only Repaint, and which cause Reflow/Layout?

Middle
150

Tell about the principles of SOLID.

Middle
150

Where in the browser can data be stored on the client side?

Middle
147

What types of attacks on the frontend do you know? How to protect against them?

Middle
146

How does the refresh token mechanism work?

Middle
139

What is the difference between an arrow function and a regular function in JavaScript?

137

Tell me about SSE (Server-Sent Events) and compare it with WebSocket and polling.

Middle
136
/2