const rootEl = document.getElementById(\'root\'); ReactDOM.render(
In addition to Alexander Lunas answer ... If you want to add more than one argument just use:
export default class DetailsPage extends Component { render() { return( {this.props.match.params.id} {this.props.match.params.title} ) } }