JavaScript React Basics (retired) Thinking in Components Properties Review

answer to question 3 was: name: React.PropTypes.string.isRequired, what is wrong with my answer?

Not sure why this answer was marked incorrectly. Am I missing some syntax?

1 Answer

Seth Kroger
Seth Kroger
56,377 Points

I just tried it and it does accept React.PropTypes.string.isRequired as the correct answer but not React.PropTypes.string.isRequired, with the comma at the end.