hookrouter icon indicating copy to clipboard operation
hookrouter copied to clipboard

The flexible, and fast router for react that is entirely based on hooks

Results 66 hookrouter issues
Sort by recently updated
recently updated
newest added

After upgrading the library from 1.2.3 to 1.2.5 I started to see `hookrouter/dist/index.d.ts is not a module` error. I think it's because `*.d.ts` files are not included with hookrouter/dist folder...

It looks like this repo has been abandoned, can you confirm? Thank you!

Hi, I have a quite complex application with lots of nested routes. I removed React strict mode. The only workaround I found was to put this on all components that...

Hi there. I've been using hookrouter well for the last year or so, but as of last week i'm suddenly getting errors when trying to deply to Heroku with it....

I'm looking to embed my application in my clients page without using an iframe. Is there a way to route without changing the URL in the browser like [React In-Memory...

**Steps to reproduce:** Navigate to https://matneyx.github.io/MimicsAndXorn/home **Expected result:** Render the page as if you selected the Home link from https://matneyx.github.io/MimicsAndXorn/ **Actual result:** 404 error **useRoutes implementation is here:** https://github.com/matneyx/MimicsAndXorn/blob/main/src/App.js#L19 **Routes...

Hello Devs. > ### To the owner repo or who wants to help him I'm catch error when a import this module in my app component. [App.tsx] ![image](https://user-images.githubusercontent.com/45169502/115624907-ac72c780-a2d1-11eb-854d-345f7aa4a7a9.png) this is...

Added: import {navigate} from 'hookrouter'; Since it wasn't 100% obvious that we have to import it separately Many thanks for a great package! ^_^

Here's my simple code, following an example: ``` import React from "react"; import logo from "./logo.svg"; import { useRoutes, A } from "hookrouter"; import Login from "./components/Login"; import Register from...

``` //reducer to change open-close flag and message const initState = { open:false, message:"" } const snackBarReducer =(state = initState,action)=>{ switch(action.type){ case snackBarActionType.ACTION_OPEN: return {...state,...action.payload} case snackBarActionType.ACTION_CLOSE: return initState default...