Alexey Taktarov

Results 110 comments of Alexey Taktarov

hi @neoeno, this is indeed a bug. the `href` gets transformed using the `hrefs()` function a few lines above. so I guess we need to keep the original `href` and...

Hi @antgonzales! I will try to provide an example to illustrate my point here. When you are writing unit tests, it is preferable to have each test as pure as...

I have completely rewrote the README in v3 and included a chapter on testing using the latest API in https://github.com/molefrog/wouter/commit/1f6964f9c46cea3e687268344b7c3a23b6a88583 The v2 branch is locked, so I have to close...

@limikael Thank you for reporting this. I wonder why this problem happens, because in Node.js `location` is also undefined (even though it can be accessed globally). For example, the function...

Closing this as it's been fixed in v3. Thank you!

@sblackstone I'm experiencing the similar problem after an upgrade to Rails 5 (the `spring` has been upgraded as well probably). Any idea what is causing it? **UPDATE:** It might be...

Hello, it took me some time to wrap my head around it, but I think I finally got the idea. A just wanted to confirm: is this something hypothetical or...

If we have two components that set state to different values simultaneously, this might create some ambiguity in my opinion, because React doesn't guarantee the exact order of useEffect invocations...

I see, makes sense now. Have you tried wrapping `navigate()` in [`flushSync`](https://react.dev/reference/react-dom/flushSync)? This should (in theory) make React flush updates to the DOM before calling the next callback.

Thank you. In https://github.com/molefrog/wouter/pull/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 way...