Closed siwei-lu closed 6 years ago
You should look at @cycle/history
for the documentation. Under the hood this router uses https://github.com/ReactTraining/react-router.
In this case you would send an object instead of the pathname string directly like:
{
type: 'replace',
pathname: '/some/path/here'
}
just replace, not push.