is possible to implement relative paths on https://name.github.io/project in React for gh-pages, using React Router, as I receive errors.
I used import {withRouter} from 'react-router-dom';
and export default withRouter(componentName);
to forward routing props from Router to targeting component, and I receive them.
I tried implemented like this Links:
<li><Link to={{pathname: this.props.match.url + '/new-post'}}>New Post</Link></li>
and used this modality this.props.match.url to obtain current path, but I receive errors.
Has anybody some suggestions?