Guin-/catcall

route to cat detail page on card click

Closed this issue · 0 comments

Guin- commented

route to cat detail page /cat/{id} on click of cat card with cat data passed down to detail component

  • working react route route using Link to
  • make the whole card a link, but remove link styles on text
  • mapState and mapDispatchToProps to fetch data for the detail view
  • detail view has data passed down

https://medium.freecodecamp.org/react-pattern-extract-child-components-to-avoid-binding-e3ad8310725e