My Random React Rabbit Hole
So... I went down a super deep rabbit hole, it started with looking into why syntax is a certain way for class components and using state. Well needless to say I got a little carried away with my curiosity haha Some topics I covered today were: What is class field syntax? What is a class? What is a field? What is class declaration? The difference between a function declaration and a function expression. The difference between functional and class components Why would we use class components and it's benefits. What is contextual binding? What is a constructor method? What does defining State directly mean? What is array destructuring? What is prop destructuring? Dude I went everywhere.. But knowing the why on the syntax for this stuff has helped me a lot. I'll need to go over this stuff for a while for it all to stick but I had no idea that I didn't know about these terms / concepts. So it was cool to fill in some gaps I didn't know I had! Keep moving. Keep grinding. Take breaks π