Sobes.tech

In the second part of the TypeScript task: transform all fields of the Delivery type object into a new type using TypeScript utility types.

202

Based on the Delivery type, create a new type where the fields name, address, and date would be optional. Which built-in utility type in TypeScript would you use?

198

How to quickly increase the number of rollers from 3 to 10 in the current implementation by creating a constant with the required number and dynamically forming arrays and rendering drums?

194

What static Promise methods do you know besides Promise.resolve? How does Promise.all differ from Promise.allSettled?

194

Why did you highlight the Chat Header as a separate widget? What criteria do you use to determine what is a widget and what is not?

192

[name] asked: tell us about your work experience, why you decided to leave your current job, and what you expect from the new place?

189

How to override the context (this) inside the loadScript function if it is a method of a class and should be called with a different this?

188

// Create a type that contains the same fields as Delivery, // but all fields are optional (may have undefined value) and cannot change their values.

188

Given three new types. You need to create a new type based on them that satisfies the condition (contains all fields of the given types, union type). What approach should be used?

188

What will be the value of 'this' inside a function if called via fn.call(this) in a browser — in normal mode and in strict mode?

188

How to make a single HTTP request and subscribe to its result multiple times?

187

Why did you choose WebSocket? Are there alternatives?

186

Describe the API endpoints we will need (getUsers, getChat, sendMessage, etc.). Which will work through REST and which through WebSocket?

185

What happens if you pass clearCache directly instead of a callback (without closure)? Why won't it work and how to fix it (e.g., using bind)?

184

What is a CDN? How does static content get there? How does the client know which CDN server to contact?

182

Look at the code: why will the App component rerender on clicking 'Render', and why will the Child component rerender when typing in the input?

180

Write test cases to verify the memoization function (for example, on a power function).

175

How does database replication (master-slave) work? How will the load balancer direct requests to different servers with different databases?

173

Should Angular Signals be used in a component instead of Input and Observable streams? Justify your decision.

173

Create a new type based on the Delivery type, where the fields name, address, and date become optional (Partial).

172
/5