Alexey Taktarov
Alexey Taktarov
> Thank you. In #428 we added a hack to ensure that `useInsertionEffect` isn't imported directly. Now we use a dynamic expression, would tree shaking work anyway? Is there any...
Superseded by #441
Hi, that is a really nice suggestion. Looks like RR calls `startViewTransition` under the hood, and I doubt we can fully recreate this API for the sake of size. However,...
I can't confirm this error, can you provide more details? As I can see, in `wouter/esm/react-deps.js` `useRef` is only declared once.
Take a look at custom parsers (see Strict Routes in the FAQ section). You can define your own function that will extend current behavior to accept arrays and then join...
One of the options is to actually provide a custom regexp: ``` ... ```
It's not something we have in the roadmap, but maybe this can be solved with a custom wrapper around `Link` component e.g. ```tsx // under the hood, takes current location...
This sounds like a tearing (https://github.com/reactwg/react-18/discussions/69) issue, but I just can't figure out why it happens. Wouter relies on `useSyncExternalStore` and this hook should be tearing-safe. I'm out of ideas...
> I have two routes, in the example `/page/:id` and `/a-different-page/:id`. The associated components print the current `useLocation()` and `useParams()` values to the console. @cataclyst could you please share how...
> isActive is not becoming true on nested routes It depends on where in your component tree this function is called. Is this a link that is inside ``? If...