Have reasonable requirements on each field (i.e, username/password is required)
Form submission should just send the user to the /dashboard page for now.
Create unit tests.
Import and place these in the /login and /register pages.
It's possible that we end up switching to redux forms. I'm not sure of the use cases yet, but for now this should be fine. We're using styled-components for styling.
These should both be new components.
Checkout a new branch from
frontend-structure
branch ormaster
once that branch is merged.Look at the user schema to see what data we store. (Username, email etc.)
Either manually write the methods to track state locally or use https://www.npmjs.com/package/react-form.
Form submission should just send the user to the
/dashboard
page for now.Create unit tests.
Import and place these in the
/login
and/register
pages.It's possible that we end up switching to redux forms. I'm not sure of the use cases yet, but for now this should be fine. We're using
styled-components
for styling.Good references for design: https://www.coinbase.com/signin https://www.coinbase.com/signup