Last week you learned how to tie your React.js app to the MailChimp API and add subscribers to your mailing list. Today you will learn how to notify the user based on the JSON data that comes back from the request to MailChimp. To make this task a bit easier, you will also learn how to use a tool called Postman to interrogate the data coming back from an API request. With this data, you will be able to notify the user whether their request went through or failed. You will also be able to notify the user if they have already joined your mailing list. You will accomplish all of this by writing a custom React.js component to handle notifying the user and using some cool CSS Grid tricks to hide and display the notification. GitHub Repo:
Download the Postman app:
Need a website? I am available for hire:
Music:

0 Comments