Frontend
What is WeakMap?
Does CSSOM block page rendering? Why?
Describe your average workday during the best times of the project. Who were the team members and what were their roles?
Live coding: open the provided code and find all bugs, visual errors, and shortcomings (unused variables, issues with useCallback, useEffect dependencies, useMemo, etc.).
Have you worked with authorization? Tell us more about the implementation.
Tell about inheritance and cascading in CSS: what are these concepts and what do they include?
How is this metric (INP) collected, do you know? How can we see it on real users if everything is fine in DevTools but users complain that everything is bad?
// each value is an array containing all elements of the original array with this key. // code here // Example 1 const array1 = [ { id: 1 }, { id: 1 }, { id: 2 } ]; const fn = (item) => item.id; console.log(array1.groupBy(fn)); // { // 1: [{ id: 1 }, { id: 1 }], // 2: [{ id: 2 }] // } // Example 2 const array2 = [1, 2, 3]; console.log(array2.groupBy(String));
Write types for a reduce function using generics (array type, callback with accumulator, current value, index, initial value).
Tell about utility types in TypeScript: which ones have you used and for what?
How did you monitor compliance with FSD architecture in your team? Was it checked during code review?
Tell me more about caching for fast page delivery. Provide an example on the second interface (question screen).
Conduct a code review of a React component that switches data, calls a string function, and displays a list. Find and fix all errors and issues (async in useEffect, missing dependency array, using index as key, etc.).
How to make a table with 300,000 objects efficient and user-friendly?
What were the results at your previous job?
What is the difference between __proto__, [[Prototype]], and prototype?
Why is NgRx needed in an Angular application?
How can you solve a problem that inheritance solves in an alternative way? What is composition in the context of TypeScript and React?
Code review: you have a piece of production code. Find problems and suggest improvements. Will React.memo perform memoization correctly if functions and objects are passed in props?
What are your expectations as an employee over the course of six months to a year of work?