Day 28: Binding but I Connected the Dots

Continued going through the React docs as review. I got to the section on handling events and got stumped trying to better understanding how binding and this is made available for functions. It confused me but I found some interesting articles to read. I took the time to review since this is more of a JavaScript feature than it is a React feature.

TLDR;

Okay, so here are the highlights of what I did:

  • JavaScript -> Continued going through the React docs. Covered the section on Event handling. I got stuck while trying to better understand why binding is necessary with class component methods and event handling. The React docs recommend this article. It helped but reading the MDN Docs on this was also important for me. It was a lot of reading but this helped to further my comfort with the language. this is wild an varies in it’s binding based on it’s execution context. It is definitely important to know.

References I used to cover the topic:


Goal For Round 7 of the #100DaysofCode Challenge

This is my seventh round of the “#100daysofcode” challenge. I will be continuing my work from round five and round six into round seven. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in turn derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.