🦊 React forms and intro to authentication 🦊
Posted on Mar 29th, 2021
Today’s topics
- React Trivia review
- Forms in React (controlled and uncontrolled)
- What does “logged in” mean?
- Intro to handling log in in a React application
🎯 Project
Begin talking to your teammates and planning the project described here.
🔖 Resources
Forms
- React forms & log in example code
- React Mental Models: Working With Input
- Controlled vs uncontrolled form inputs in React
Working with Local Storage in React
- use-local-storage-state -> You would
npm install use-local-storage-stateto use it in your code- Check out this custom hook code example, which shows how you could implement this yourself (you could even borrow this code and use it in your project instead of the above library if you wanted to!).
- Using the Web Storage API