chrisbodhi / mewment

Kinda like a mashup of Tinder and Instagram, but for cats :cat: :cat2:
11 stars 1 forks source link

Refactor URL param id #41

Open chrisbodhi opened 8 years ago

chrisbodhi commented 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.