I am trying to figure out how to convert this code
const Child = ({ match }) => (
  <div>
    <h3>ID: {match.params.id}</h3>
  </div>
)
Into a class based component like this
class Home extends React.Component {
  render() {
      ....
  }
}
Normal const components I know how to convert, but I am not able to understand how to include match parameter in class based component.