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 Merge pull request #11122 from overleaf/ii-rollback-some-ts-hooks-to-js 2023-01-10 09:06:14 +00:00
use-detach-layout.ts
use-detach-state-watcher.js Merge pull request #11122 from overleaf/ii-rollback-some-ts-hooks-to-js 2023-01-10 09:06:14 +00:00
use-detach-state.js Merge pull request #11122 from overleaf/ii-rollback-some-ts-hooks-to-js 2023-01-10 09:06:14 +00:00
use-dropdown.ts
use-event-listener.js
use-expand-collapse.ts
use-is-mounted.ts
use-location.ts Always use mockable location methods (#11929) 2023-03-17 09:05:21 +00:00
use-persisted-state.ts
use-previous-value.ts
use-ref-with-auto-focus.ts
use-resize-observer.ts Improve the Rich Text toolbar (#11616) 2023-02-07 09:04:39 +00:00
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