cal.pub0.org/apps/web/lib/hooks
alannnc fcd892bfa0
perf: no wait for session when calling getschedule 10552 cal 2311 (#10607)
* No batching on getting session

* Fix usePublicPage hook to use new router search params

* Move things so getSchedule data can be load as soon as we are rendering BookerComponent

* pre fetch session

* Removed custom code in favour of useTimePreferences

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-08-09 09:55:27 +01:00
..
useCurrentUserId.ts Extracts useMeQuery to own hook 2022-05-04 15:28:58 -06:00
useFileReader.ts
useInViewObserver.ts Linting fixes round #1 (#2906) 2022-06-06 18:24:37 +00:00
useIsBookingPage.ts perf: no wait for session when calling getschedule 10552 cal 2311 (#10607) 2023-08-09 09:55:27 +01: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
useRouterQuery.ts refactor: next/router hooks with next/navigation hooks (#9105) 2023-08-02 11:35:48 +02:00
useToggleQuery.tsx refactor: next/router hooks with next/navigation hooks (#9105) 2023-08-02 11:35:48 +02:00