Week 8 Day 3 – Error woes
Gonna make this quick I hope. Yesterday was committed to finishing up front-end styling. It was a struggle because I didn’t get much on hand practice with CSS during the projects due to worrying about assessments. During the second half of yesterday, things really started to piece together. I started grasping CSS concepts and develop a way of thinking that seemed to work.
Yesterday’s bug was not being able to get errors to clear when you’re switching render views. I tried a bunch of stuff involving lifecycle methods, but none of those worked out well with changes to the state. I ended up creating a new action for clearing the errors, which resulted in an additional case statement in the session reducer. After that, I had to add an onClick
attribute to the signup to login or login to signup link so that when you switched views, it would clear the errors. After about 2 hours of working through the bug, and creating the new methods and actions, I finally got it to work.
If you guys are interested in following the progress, feel free to drop by the app and give it a look as I’m working through it: Dappergram. Link may change later on so let me know if it ends up being broken.
That’s pretty much it for today guys! I gotta get back to my project. Talk to you guys tomorrow!