cal.pub0.org/apps/web/lib/hooks
Aaron Presley 05c33bd94b
I18N Caching (#6823)
* Caching Logic Changes

Enabled this function to change its cache value based on incoming paths value

* Invalidate I18N Cache

Invalidating the I18N cache when a user saves changes to their General settings

* Removes deprecated useLocale location

* Overriding the default getSchedule cache to have a revalidation time of 1 second

* Update apps/web/pages/api/trpc/[trpc].ts

* Updated cache values to match the comment

---------

Co-authored-by: zomars <zomars@me.com>
2023-02-08 17:35:43 -07:00
..
useCurrentUserId.ts Extracts useMeQuery to own hook 2022-05-04 15:28:58 -06:00
useFileReader.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
useInViewObserver.ts Linting fixes round #1 (#2906) 2022-06-06 18:24:37 +00:00
useMeQuery.ts feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
useMediaQuery.ts booking page: only scroll to bottom on mobile (#6453) 2023-01-13 17:40:02 +05:30
usePublicPage.ts Rename /success to /manage and fix link in calendar event (#5719) 2022-11-29 20:27:29 +00:00
useRouterQuery.ts Allow clients to choose different duration for a meeting (#5660) 2022-11-28 18:14:01 +00:00
useToggleQuery.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00