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 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-async.ts Merge pull request #9245 from overleaf/integration-project-dashboard-react-migration 2022-09-14 08:04:03 +00:00
use-browser-window.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-callback-handlers.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-contact-us-modal.tsx
use-debounce.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-deep-compare-effect.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-deep-compare-memo.ts Merge pull request #10111 from overleaf/mj-lezer-file-outline 2022-11-04 09:04:33 +00:00
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 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
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 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-event-listener.js
use-expand-collapse.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
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 Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-ref-with-auto-focus.ts Merge pull request #9724 from overleaf/ab-tag-modals-autofocus 2022-09-27 08:04:16 +00:00
use-resize-observer.ts Improve the Rich Text toolbar (#11616) 2023-02-07 09:04:39 +00:00
use-resize.ts Merge pull request #9536 from overleaf/ii-adjustable-project-dashboard-panel 2023-01-10 09:05:44 +00:00
use-safe-dispatch.ts
use-scope-event-emitter.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-scope-event-listener.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-scope-value-setter-only.ts
use-scope-value.ts
use-scroll-to-id-on-load.ts
use-stop-on-first-error.ts Merge pull request #11105 from overleaf/ii-shared-hooks-js-to-ts-conversion 2023-01-10 09:05:52 +00:00
use-wait-for-i18n.ts