const { HashRouter, Switch, Route } = ReactRouterDOM;

function App() {
    return (
        <HashRouter>
            <Switch>
                <Route exact path="/">
                    <HomePage />
                </Route>
                <Route path="/hooks">
                    <AllHooksPage />
                </Route>
            </Switch>
        </HashRouter>
    );
}

// Global hook if needed or can just use App
