4.1 instructions unclear


#1

I spent a long while trying to figure out what I was doing wrong when writing…

onChange={this.props.changeName} :-1:

instead of…

onChange={this.props.onChange} :+1:

to try to complete this step. The text seems misleading when it says:

Make the attribute’s value equal to the function that you passed in from Parent.js. If you can’t remember what prop name you used, then check Parent’s render function.

This lead me to think I was supposed to call the same function name from props that I passed in from Parent. I’m still a React beginner, but I believe it would be better to say something like:

Make the attribute’s value equal to the attribute name that you passed in from Parent.js. If you can’t remember what prop name you used, then check Parent’s render function.

This is probably not the right place to make suggestions like this, but figured it was worth a shot.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.