Mohammad Althayabeh

Results 2 comments of Mohammad Althayabeh

So this happen to me if I am using a custom server, if you do then make sure you have `const app = next({ dev, hostname, port })` with `hostname`...

You have access to the router directly `function MapStateToProps(state, router) { console.log(router) }` Assuming that you are using withRouter `export default withRouter(connect(MapStateToProps)(Whatever))`