overleaf/services/web/frontend/js/shared/hooks
Alf Eaton f375362894 Always use mockable location methods (#11929)
* Always use mockable location methods
* Add eslint rules for window.location calls/assignment
* Add useLocation hook
* Update tests

GitOrigin-RevId: eafb846db89f884a7a9a8570cce7745be605152c
2023-03-17 09:05:21 +00:00
..
use-abort-controller.ts
use-async.ts
use-browser-window.ts
use-callback-handlers.ts
use-contact-us-modal.tsx
use-debounce.ts
use-deep-compare-effect.ts
use-deep-compare-memo.ts
use-detach-action.js
use-detach-layout.ts
use-detach-state-watcher.js
use-detach-state.js
use-dropdown.ts
use-event-listener.js
use-expand-collapse.ts
use-is-mounted.ts
use-location.ts
use-persisted-state.ts
use-previous-value.ts
use-ref-with-auto-focus.ts
use-resize-observer.ts
use-resize.ts
use-safe-dispatch.ts
use-scope-event-emitter.ts
use-scope-event-listener.ts
use-scope-value-setter-only.ts
use-scope-value.ts
use-scroll-to-id-on-load.ts
use-stop-on-first-error.ts
use-wait-for-i18n.ts