Use tanstack for caching of events
This commit is contained in:
5
.github/copilot-instructions.md
vendored
5
.github/copilot-instructions.md
vendored
@@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user