Closed coulson84 closed 5 years ago
If using createHashHistory as a custom option instead of browserHistory then the links generated by the package would be incorrect.
By passing the path via history.createHref({ pathname: path }) it ensures that, when using hashHistory, then there is a # prepended to the path.
@coulson84 please fix merge conflicts, update tests and I’ll merge it. Apologies for the delay
This is for RFR2
@coulson84 bumping this cause I know it’s old
If using createHashHistory as a custom option instead of browserHistory then the links generated by the package would be incorrect.
By passing the path via history.createHref({ pathname: path }) it ensures that, when using hashHistory, then there is a # prepended to the path.