Open chrisbodhi opened 8 years ago
Presently, for the FullProfile component, the cat ID is pulled via this.props.params.id. In order to keep the component pure [it currently extends React.Component], let's store that ID param in the state object.
FullProfile
this.props.params.id
Presently, for the
FullProfile
component, the cat ID is pulled viathis.props.params.id
. In order to keep the component pure [it currently extends React.Component], let's store that ID param in the state object.