Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Implement Sign In
In this step, we'll write the signIn()
function that retrieves a registered user's credentials from the server, then write a function to log in an authenticated user upon submitting the "Sign In" form.
Create the Sign in Function
-
Open the file
Context.js
. Scroll down to thesignIn
function, just below therender()
method:signIn = async () => { ...