Preguntas con la etiqueta [react-router]

Lista react-router preguntas

¿Cómo podemos pasar parámetros this.props.history.push('/page')en React-Router v4? .then(response => { var r = this; if (response.status >= 200 && response.status < 300) { r.props.history.push('/template'); });

Recibo este error: Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Este es mi código: