Frontend
Tell me about your current position and tech stack.
Как исправить потерю реактивности при деструктуризации пропсов? Расскажи про toRef/toRefs.
В чём разница между ref и reactive во Vue 3?
#React signup form 1. Explain how StateProvider works, share your thoughts with interviewer. 2. Take a look at /src/api/mock, explain how it works. 3. Check SubmitButton color and fix it 4. Implement client form validation in Signup component. (\* ) Keep in mind task number 9. Rules: - Username, Email, Password, Repeat Password fields should have at least 6 characters length; - Password should match Repeat Password; - Validation should be done upon "Sign Up" button click; - Fields that have invalid values should be marked (error and helperText props); 6. API response may have an error that should be displayed to user near corresponding field. 7. Make sure that UserName component renders new username after successful submit. 8. Implement the new SignupSuccess component. It should be shown instead of sign up form. 9. Implement server validation for appropriate fields.
#React signup form 1. Explain how StateProvider works, share your thoughts with interviewer. 2. Take a look at /src/api/mock, explain how it works. 3. Check SubmitButton color and fix it 4. Implement client form validation in Signup component. (\*) Keep in mind task number 9. Rules: - Username, Email, Password, Repeat Password fields should have at least 6 characters length; - Password should match Repeat Password; - Validation should be done upon "SignUp" button click; - Fields that have invalid values should be marked (error and helperText props); 6. API response may have an error that should be displayed to user near corresponding field. 7. Make sure that UserName component renders new username after successful submit. 8. Implement the new SignupSuccess component. It should be shown instead of sign up form. 9. Implement server validation for appropriate fields. --- Code from mock.ts: ```typescript const fakeResponse = (userName) => ({ code: 200, user: { id: 42, userName, }, }); let a = 0; const api = { '/signup': function (userName: string, email: string, password: string) { a++; return new Promise((resolve, reject) => { setTimeout(() => { if (a % 2 === 0) { return resolve(fakeResponse(userName)); } else { return reject( new Error( `Username "${userName}" is already taken. Please try another one.` ) ); } }, 500); }); }, }; export default api; ```
#React signup form 1. Explain how StateProvider works, share your thoughts with interviewer. 2. Take a look at /src/api/mock, explain how it works. 3. Check SubmitButton color and fix it 4. Implement client form validation in Signup component. (\*\*) Keep in mind task number 9. Rules: - Username, Email, Password, Repeat Password fields should have at least 6 characters length; - Password should match Repeat Password; - Validation should be done upon "Sign Up" button click; - Fields that have invalid values should be marked (error and helperText props); 6. API response may have an error that should be displayed to user near corresponding field. 7. Make sure that UserName component renders new username after successful submit. 8. Implement the new SignupSuccess component. It should be shown instead of sign up form. 9. Implement server validation for appropriate fields.
Что такое Promise и как он работает?
Расскажите про Promise: состояния, статические методы (all, any, allSettled, race). Что вернёт Promise.all, если один из промисов завершится с ошибкой?
Question 5 Wind farms, which generate electricity using arrays of thousands of wind-powered turbines, require vast expanses of open land. County X and County Y have similar terrain, but the population density of County X is significantly higher than that of County Y. Therefore, a wind farm proposed for one of the two counties should be built in County Y rather than in County X. Which of the following, if true, most seriously weakens the planner's argument? - County X and County Y are adjacent to each other, and both are located in the windiest area of the state. - The total population of County Y is substantially greater than that of County X. - Some of the electricity generated by wind farms in County Y would be purchased by users outside the county. - Wind farms require more land per unit of electricity generated than does any other type of electrical-generation facility. - Nearly all of County X's population is concentrated in a small part of the county, while County Y's population is spread evenly throughout the county.
Question 6 Facts: The graph refers to a plane's flight from one location to another. The vertical axis represents the distance, in kilometers, between the plane and its destination. The horizontal axis represents the time, t minutes, since takeoff. Of all of the 20-minute intervals beginning and ending at times labeled on the graph, the interval in which the plane traveled farthest toward its destination was the interval from: ○ from t=20 to t=40 ○ from t=60 to at t=80 ○ from t=180 to t=200 ○ from t=240 to at t=260
Почему ищете новое место работы, что не хватило на старом?
Что ищете для себя, что интересное?
В каком вы городе? Готовы переехать? К гибриду как относитесь?
Как вы оцениваете себя: middle, middle+, senior?
Как у вас в команде приходили задачи, кто принимал архитектурные решения?
Как вы оцениваете свой опыт в Spring Boot? Насколько глубоко приходилось разбираться, как он устроен под капотом?
Приходилось ли писать свои стартеры?
Был ли опыт написания BeanPostProcessor-ов?
Был ли опыт трассировки сквозных запросов?
С помощью чего определяли, что необходимо оптимизировать, и как оптимизировали?