arbret/frontend
counterweight b900b52b3c
Fix infinite loop in booking page availability fetching
- Memoized dates array using useMemo to prevent recreation on every render
- Removed dates from useEffect dependency array since it's now stable
- Prevents cascade of API requests when opening booking page
- Dates only recalculate when minAdvanceDays or maxAdvanceDays change
2025-12-21 18:15:57 +01:00
..
app Fix infinite loop in booking page availability fetching 2025-12-21 18:15:57 +01:00
e2e Extract duplicate test helper functions to shared module 2025-12-21 17:59:48 +01:00
test-results Fix flaky E2E tests with proper selectors and response waits 2025-12-21 01:13:10 +01:00
env.example first round of review 2025-12-18 22:24:46 +01:00
next-env.d.ts starting 2025-12-18 21:37:28 +01:00
next.config.ts starting 2025-12-18 21:37:28 +01:00
package-lock.json implemented 2025-12-20 23:06:05 +01:00
package.json implemented 2025-12-20 23:06:05 +01:00
playwright.config.ts Fix flaky E2E tests with proper selectors and response waits 2025-12-21 01:13:10 +01:00
tsconfig.json starting 2025-12-18 21:37:28 +01:00
tsconfig.tsbuildinfo implemented 2025-12-20 23:06:05 +01:00
vitest.config.ts with some tests 2025-12-18 21:48:41 +01:00