Frontend
What is the difference between a client component and a server component in Next.js?
Explain the concept of declarative programming with respect to React.
interface FormState { values: FormValues; errors: FormErrors; isLoading: boolean; } const [formState, setFormState] = useState<FormState>({ values: { email: '', password: '', }, errors: {}, isLoading: false, });
What are WeakSet and WeakMap, and how do they differ from Set and Map?
Implement a debounce function.
[name] asked: Please introduce yourself: your name, surname, and briefly tell about your professional background.
How was form validation implemented in your project?
How do you prioritize technical debt relative to business tasks?
What does it mean if a ref is called 'top-level' or 'shallow' - that it does not track the object in depth, only the top properties? (question about shallowRef)
What is semantic markup and why is it needed? Provide an example.
A new junior developer joined the sprint, the task was transferred to him, and you realize you are behind. What do you do?
The business wanted to release a feature quickly, but you understood it would entail technical risks. How did you act?
What values of the display property do you remember?
How does React work? Tell me about Virtual DOM and the reconciliation mechanism.
What is your general attitude towards utility-first CSS frameworks?
What is HOC (Higher-Order Components)? What are they used for? Provide examples of using HOC in React.
Have you used TypeScript client and data models generation on the frontend from YAML description of OpenAPI?
Why did you use async/await with try-catch instead of Promise.then().catch()?
Have you used the Yup library? How does it differ from other validation solutions?
If we try to compare two empty objects, what will this comparison return — true or false?