mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
add CTAs for generating ts types
This commit is contained in:
1 parent
6a6acc1dc2
commit
04cef3f93f
1 file changed
+4
+4
@@ -103,6 +103,8 @@ export default createClient(
|
||||
)
|
||||
```
|
||||
|
||||
> For automatically adding types to the Supabase client, check out [how to generate types](https://supabase.com/docs/reference/javascript/typescript-support).
|
||||
|
||||
Okay, let’s look at some different data fetching and caching strategies.
|
||||
|
||||
# Static
|
||||
@@ -379,6 +381,8 @@ export default function ClientPosts() {
|
||||
}
|
||||
```
|
||||
|
||||
> Again, check out [how to generate types](https://supabase.com/docs/reference/javascript/typescript-support) to add proper typing for Post.
|
||||
|
||||
But now we have loading spinners! Yuck!
|
||||
|
||||
# Realtime
|
||||
|
||||
Reference in new issue
Block a user