Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ft/actions and protected routes #6

Open
wants to merge 7 commits into
base: stage
Choose a base branch
from

Conversation

hirwaaldo1
Copy link
Owner

This PR covers the following content (from scrimba)

  1. Initial Login Form
  2. Note from the future: importing image assets in Vite
  3. Protected Routes Intro
  4. Protected Routes - AuthRequired Layout Route
  5. Protected Routes - Conditionally send to /login page
  6. Protected Routes Quiz
  7. Protected Routes - with loaders
  8. Protected Routes w/ loaders
  9. Parallel Loaders demo
  10. Challenge: Protected Routes w/ loaders
  11. Challenge: Protected Routes in VanLife - Part 1
  12. Aside challenge: move remaining fetching to loaders
  13. Aside challenge: move remaining fetching to loaders
  14. Challenge: Protected Routes in VanLife - Part 2
  15. Send login message prompt to login page
  16. Consume message from search param on login page
  17. Pass message to Login page
  18. Take: Forms in React are bad
  19. Setting up for authentication - happy path
  20. Setting up for authentication - sad path
  21. useNavigate()
  22. React Router Form Component
  23. Setting up the Action function
  24. Add form and action to VanLife
  25. Action function - params
  26. Action function - request
  27. Get form data in VanLife
  28. IJse data in action to log in
  29. Better (but still fake) auth
  30. Challenge: send user to /host route after log in
  31. Form replace
  32. useActionData
  33. Action error handling
  34. Action error handling in VanLife
  35. useNavigation()
  36. useNavigation in VanLife
  37. get previous route pathname
  38. redirectTo - part 1
  39. redirectTo - part 2
  40. redirectTo in VanLife

@netlify
Copy link

netlify bot commented Apr 6, 2023

Deploy Preview for a-van ready!

Name Link
🔨 Latest commit 085f538
🔍 Latest deploy log https://app.netlify.com/sites/a-van/deploys/64463c0292604b000822daa9
😎 Deploy Preview https://deploy-preview-6--a-van.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@hirwaaldo1 hirwaaldo1 added the Ready for code review Ready for any one who want to review label Apr 11, 2023
@hirwaaldo1 hirwaaldo1 added Done Done and removed Ready for code review Ready for any one who want to review labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants