/* File ProfilePage.tsx This file needs to be fixed for errors */
Frontend
The user opened the browser, entered sberbank.ru in the address bar, and pressed Enter. After a few seconds, the page was displayed. What happens between pressing Enter and rendering the page?
Can you tell me what our project is about?
Was there an issue with supporting outdated browsers (Internet Explorer, etc.)? How was cross-browser compatibility addressed?
Why is the first block 'isShowInfo' written with a capital letter and what is the problem with using 'let' instead of 'useState'?
Have you written unit tests and E2E tests? How did you choose elements in tests, are you familiar with the Page Object pattern?
Look at the third code block — what issues exist in the component's return?
What would you like to do in the future?
How to fix line 11 of the component so that the request is not sent again on re-render?
When is useEffect called? Under what circumstances does it trigger?
How did you collect metrics and monitor errors on payment pages? How did you use Sentry?
There are two functions: one depends on user, and the other depends on user and roles. What will happen when roles change?
Did you manage to learn something about our project?
How did you implement role-based access control on the frontend? How was it determined what to show to the user based on permissions?
Is it necessary to make the request again if the response has already been received, even if the array is empty?
What was Infinity Scroll used for? How many records could be in the table and how was the problem of a large number of records (virtualization) solved?
In the third block, there is an early return for AdminPage. What issue exists with hooks after this conditional return?
Should you split logic into two useEffects or keep one? How to organize dependencies?
Расскажите про ваш опыт работы. В резюме указан опыт во фронтенд-разработке 5 лет, но университет вы заканчивали в 2010 году — чем был занят этот интервал?
Have you ever worked with React Context? What are the disadvantages of Context compared to Redux?