Stateless component React router
问题 I am new to React and Redux, I am actually creating a code of myself but I got stuck with a router kind of thing inside stateless component. So, Actually I need to route to a component by using this.props.history.push('/somepath'). This is not happening inside a stateless component. My Stateless component is import React from "react"; // eslint-disable-line no-unused-vars import "bootstrap/dist/css/bootstrap.min.css"; import "./header.css"; const Header = () => ({ handleAuthor() { this.props