Form management
Before we can identify the user when we receive a request, we need to create a form to collect credentials.

We will use Formik to build our forms.
$ yarn add @types/react formikWe need 2 components to build our form, Input and Buttonwhich we can then use to build our form. We send the request to the server using useMutation.
We also use React Router and Lazy:
This cover everything needed to interact with the GraphQL API and display the results.
Last updated
Was this helpful?