New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref(js): Use useLocation in useUrlParams #70653
base: master
Are you sure you want to change the base?
ref(js): Use useLocation in useUrlParams #70653
Conversation
8c3b49a
to
6d37e88
Compare
Bundle ReportChanges will decrease total bundle size by 9 bytes ⬇️
|
6d37e88
to
11b2876
Compare
Newer versions of the history library do not support this function [0]. Use `useLocation` in this case instead. [0]: https://github.com/remix-run/history/blob/485ebc177c1f3f8eef93b0d654fffd1d321c2ecd/packages/history/index.ts#L188
11b2876
to
a8d2a06
Compare
This does appear to break things in a weird way. |
Okay so this is only broken in places where we're making synchronous calls to multiple uses of this hook Specifically here sentry/static/app/views/replays/detail/network/useSortNetwork.tsx Lines 53 to 64 in 531b2f2
We can't do this when using Not sure what the right fix is yet. |
Newer versions of the history library do not support this function 0.
Use
useLocation
in this case instead.