Skip to content

Commit cc8bc5b

Browse files
committed
updates
1 parent 0781b66 commit cc8bc5b

24 files changed

Lines changed: 946 additions & 1241 deletions

AGENTS.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ This ensures the loader only re-runs when the specific dependencies change, not
7777

7878
**Loaders in TanStack Start/Router are isomorphic and cannot call server logic unless via a call to a server function.**
7979

80-
Loaders run on both the server and client, so they cannot directly access server-only APIs (like file system, database connections, etc.). To perform server-side operations, loaders must call server functions (e.g., TanStack server functions created via `createServerFn()`, Convex queries/mutations, API routes, or other server functions).
80+
Loaders run on both the server and client, so they cannot directly access server-only APIs (like file system, database connections, etc.). To perform server-side operations, loaders must call server functions (e.g., TanStack server functions created via `createServerFn()`, API routes, or other server functions).
8181

8282
**Bad:**
8383

@@ -93,11 +93,9 @@ loader: async () => {
9393

9494
```typescript
9595
loader: async () => {
96-
// Call a server function instead (TanStack server function or Convex)
96+
// Call a server function instead
9797
// TanStack server functions created via createServerFn() can be called directly
9898
const data = await serverFn({ data: { id: '123' } })
99-
// or
100-
const data = await convex.query(api.data.getData)
10199
return { data }
102100
}
103101
```

agents/tasks/code-splitting-fixes.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

agents/tasks/feed-admin-fixes.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)