Use tanstack for caching of events

This commit is contained in:
Roman Krček
2025-07-12 21:25:04 +02:00
parent 5a09b50e82
commit 308e70941f
8 changed files with 281 additions and 318 deletions

View File

@@ -1,11 +1,14 @@
GitHub Copilot Instructions for This Repository
Basics:
Basics: These you need to really follow!
- If you have any questions, always ask me first!
- Use Svelte 5 runes exclusively
- Declare reactive state with $state(); derive values with $derived(); run side-effect logic with $effect() etc.
- When doing client-side loading, always implement placeholders and loaders, so the UI remains responsive and layout shifts are minimized.
- Don't use placeholders and loaders for static data like heading etc.
- Never use supabse-js. I am using supabse-ssr and supabase client is located in:
- client: $props.data.supabse
- server: $locals.supabase
Do not fall back to the legacy $: label syntax or Svelte 3/4 stores! This is important!