So, up till React, everything was going alright, now I’m getting frustrated and it takes me waaay to long to move on.
I was trying to solver the “create-a-controlled-input” challenge. I could not. I took a look at the solution. Here, for the first time ever, they are doing the binding inside the return method, despite the fact that the challenge says it has to be done on the constructor, anyways, it is nice to know it can be done in a different way.
On the other hand, I googled about
onChange event handler for some examples, because, either I don’t remember how to use it or we haven’t seen it in the curriculum. First result, is this one (React onChange Events (With Examples) - Upmostly). So here the guy does not even use the keyword this. Now I’m completely confused. The important question on this topic is: What is going on? Is that post wrong? how come that he does not even use .this a single time? Am I missing something? Hope you can give me an insight, because I am completely lost and frustrated by this point .