-
Notifications
You must be signed in to change notification settings - Fork 0
Challenges and Bugs
Dan edited this page Jan 10, 2020
·
3 revisions
- Bug: Switch routes, how to use authroute and protectedroute to differentiate the same frontend route.
- Redirect route doesn't work if it's not in the SWitch. Need to click twice
- Bug: forgot to return the default state at the reducer => the error out to say the state was not initialized. Need to return the default at the beginning. Also when there is no correct action received, it needs to return the old state.
- Bug: can't render an object with a list of attributes in React. Need to key in to render it.
- Bug: forgot to add "exact" as props to ProtectedRoute and AuthRoute.