Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prisma/prisma-examples
/ fetchUsers
Function
fetchUsers
orm/solid-start/src/app.tsx:10–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
}
9
10
const fetchUsers = async () => {
11
const res = await fetch(
'http://localhost:3000/api/users'
)
12
return res.json()
13
}
14
15
export default function App() {
16
const [users, { mutate, refetch }] =
Callers
nothing calls this directly
Calls
2
json
Method · 0.65
fetch
Function · 0.50
Tested by
no test coverage detected