Collab-Anno 6–12–2020
Yesterday I got the round trip of a teacher logging in and logging out. This will have to use data from a database and have some string parsing to validate inputs. Implementing the back end will be for another day. The piece of advice I liked from the React book, to start with with basic HTML/CSS and add state in later. I’m still just learning React so deciding where to place the application state seems to be a complicated matter. For now, the app simply manages whether somebody is logged in or not.
Today I am going to build a functional registration component. There is a button that takes the user to this page. It isn’t connected to a database or anything so it is just a static form for now. I’m going to have it update an array with the new user. Then use that array to compare the login page credentials against.