Notes on Implementing Login Page

OKay I’ll just need to make some quick notes with regards to login features of a website, and this is a rather new and elegant way of doing it. Step 1: Decide on where in the component chain you’re going to implement login requirements. In my case, it’s App.js, because everything else within the app is supposed to be ‘private’ and an individual’s views of their own portfolio. Step 2: Create a login page. I’ve used the stock one from material UI, which looks great. First, create a login.js component. Paste the content from this template into the component. ...

October 13, 2021 · 8 min · Lei