7/13 this.props. Why do we have to include function in class definition, what happens if a function is outside of a class passed as props to other component?
Hey @poittqe are you still on
this.props lesson? Also is your question “Can an event handler exist outside of a class or component?”
If you have more questions in the future, it’s good to know how to format your code in the post so that it’s easier for others to offer their help. You can refer how to format code here.
For the right advice or code review, share the lesson name, the webpage link, the step you are struggling on, also the code you tried and sometimes the error message that pops up.
All of this information is really helpful for you to mull over and it introduces us to the problem so we can point you in the right direction in a quickly
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.