add CTAs for generating ts types

This commit is contained in:
Jon Meyers committed 2022-11-16 14:08:28 +11:00
1 parent 6a6acc1dc2
commit 04cef3f93f
1 file changed
+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