What are the pros and cons of using native fetch versus a library like Axios?
Frontend
How do generators work in JavaScript, as opposed to regular functions?
What build tools were used? What are the pros and cons of Webpack and Vite?
/ Write type definitions for the function getObjField / type Obj = { name: string age: number } const getObjField = (obj: any, key: any) => { return obj[key] } const user: Obj = { name: "Nik", age: 25 } const value1 = getObjField(user, "name") const value2 = getObjField(user, "age") const value3 = getObjField(user, "test")
What is the sequence of executing micro-tasks and macro-tasks in the Event Loop?
What is the difference between debounce and throttle?
// What will be printed in the console?
Who was involved in setting up the dev environment, linters, formatters (Husky, pre-commit hooks)?
Tell me, what are portals used for in React?
What are generics and why are they needed?
Do you have experience working with Next.js?
What is the difference between any and unknown in TypeScript?
type Obj = { name: string age: number } const getObjField = (obj: any, key: any) => { return obj[key] } const user: Obj = { name: "Nik", age: 25 } const value1 = getObjField(user, "name") const value2 = getObjField(user, "age") const value3 = getObjField(user, "test") const getObjField = <T, K extends keyof T>(obj: T, key: K) => { return obj[key] }
Why are keys needed in React and why should they be unique?
Have you had experience working with TanStack Table (formerly React Table)?
/* What will be printed in the console */ const a = {}; const fn = (b) => { b.some = "1"; }; fn(a); console.log(a.some); // ?
Was the UI kit based on a library or fully custom?
If you need to write a complex table with server-side pagination, sorting, and filtering — what would you choose?
Have you ever had to work with charts, such as line charts?
Have you used RTK when working with Redux?