wouter icon indicating copy to clipboard operation
wouter copied to clipboard

🥢 A minimalist-friendly ~2.1KB routing for React and Preact

Results 57 wouter issues
Sort by recently updated
recently updated
newest added

I'm porting a project from wouter V2 to wouter V3. The new version only ships ESM. Has anyone figured out how to get V3 working with Jest? Currently I'm getting...

With the `useHashLocation` hook, the active route does not sync with the current state/location, once it is updated. The initial location loads the correct route. For example/reproduction: 1. Set up...

unclear

First of all, thanks for the work on wouter! Love the simplicity. I think the docs are missing something, namely a copy-pasteable code block that says ```sh npm install wouter...

This has been requested before: #132, (partially) #166, #189 - but the suggested code is an incomplete solution: ```js import { useEffect } from "react"; import { useLocation } from...

feature

Hi, I've setup a simple demo to demonstrate that exit animation using framer-motion package does not work, does anyone have any idea how to make it to work? https://codesandbox.io/p/sandbox/elastic-violet-9t9r4h here...

Hello, I have a component setup that looks something like this: ```jsx ``` I'd like to access my `companyId` param within my `` component, which is nested inside another route,...

feature

Need something like useSearchParams in React Router to handle queries.

feature

This PR introduce a `useSearchParams` utility hook that is similar to React-Router's [`useSearchParams`](https://reactrouter.com/en/main/hooks/use-search-params) hook. Due to the minimalistic approach of this library, the utility hook is designed to be as...

Greetings, I've been scratching my head over this issue for quite awhile. Following #368, I've been using the `useSearchParams` hook and it has been working fine, until I started integrating...

bug

3.0.0-rc.1 ``` link text ``` Click the link, windows location is changed to `https://example.com/#/abc` as expected. Ctrl+click, a new tab is opened at `https://example.com/abc#/abc`

bug
feature
V3