25
Solo Week + React (pt. 2)
This post should just be titled 'Tech Debt'. There's so much that I know I'm missing by not just going through the docs and learning this tools deeper levels.
I also did some refactoring today, and that came with some good learning. Number one, maybe don't rely on refactoring to glue together inter-related components. I ended up having to shift state up a few levels in order to get two components to mesh, and that was a pain. Am I getting into the same kind of trouble by putting off Context? I'm going to do a code review with my teammates tomorrow and talk to them about it. How much work am I building myself by pushing off Context?
There are a few small items I had made not to include in my last post, but I ran out of steam before getting to them.
Just on this assignment I've used two React-related things that I learned on the TA:
Then a small thing I had noticed but hadn't questioned:
I mentioned refactoring and the process lead me to an answer to a question that I raised in my last post.
Previously, I was loading up state with a lot of redundant data. So here are two things I appreciate/learned today:
Previously, I was loading up state with a lot of redundant data. So here are two things I appreciate/learned today:
someArray[0]
, if you wrap it in a conditional, no problem. If not, you're gonna break your code. I still need to figure out some things in this space (especially those functions), but I can appreciate the progress I made here today.