Currently, you add event listeners for login page in login container with help of elements IDs. I am not entirely sure that this is the correct structure for presentational & container components. I would instead be passing events through callbacks in the login view. You can read more here how to addEventListeners without targeting elements by ID: https://reactjs.org/docs/handling-events.html
Currently, you add event listeners for login page in login container with help of elements IDs. I am not entirely sure that this is the correct structure for presentational & container components. I would instead be passing events through callbacks in the login view. You can read more here how to addEventListeners without targeting elements by ID: https://reactjs.org/docs/handling-events.html