V1 of Wails is now in feature freeze. V2 is now in Beta for all platforms

Using React Router

It’s possible to use React Router, but you must ensure that you don’t use <BrowserRouter> and use one of these options :

/* Example */
<MemoryRouter> // or: <HashRouter>
    <div>
        <ul>
            <li>
                <Link to="/">Home</Link>
            </li>
            <li>
                <Link to="/about">About</Link>
            </li>
        </ul>
        <hr/>
        <Switch>
            <Route exact path="/">
                <Home />
            </Route>
            <Route path="/about">
                <About />
            </Route>
        </Switch>
    </div>
</MemoryRouter>