Frontend
/** * Task 3: Analyze the function below and fix any errors. Explain the role of the `never` type in TypeScript. */ function throwError(): never { throw new Error('An error occurred'); } /** * Task 4: Transform the given type `MaybeProps` to make all of its properties required. */ type MaybeProps = { a?: number; b?: string; }; /** * Task 5: Create a generic type `Container` that contains a single property `value`. * The type of `value` should be constrained to either `string` or `number`. */ type Container<T> = { value: T; };
Tell us about your relevant work experience.
In TypeScript, what’s the practical difference between `interface` and `type`, and when would you prefer one over the other in
What is a literal type in TypeScript? Provide an example.
Why is the key attribute needed in React? What will happen if the key changes?
How does enum work in TypeScript — what happens to keys and values if values are not specified or explicitly set?
Can we retrieve data using a DELETE request or send data using a GET request?
What architectural considerations are important for routing and navigation when moving an existing product to React?
Tell me about props, emit, and provide/inject in Vue — what they are, how they are used, and why.
What utility types in TypeScript do you use most often?
How to protect against an infinite Promise when requesting access to the camera and microphone? Suggest options using static Promise methods.
Primitive types can call built-in methods, such as toString. Why is this possible?
How do margins collapse?
What other optimizations of the table have you done besides pagination and filtering?
Can you somehow confirm your work experience (more than 5.25 years) listed in your resume? For example, with a work book or a certificate extract?
What is CSRF and how to fight it?
Did you write unit tests yourself? What testing tools did you use?
How did you display PDF documents directly on a page, did you use a library?
What are higher-order components (HOCs) in React?
What is an abstract class?