mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-11 04:19:31 +00:00
docs: fix typo in SSR performance section
The line was missing "the". Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
This commit is contained in:
@@ -118,7 +118,7 @@ Here are examples of how you can do caching in different frameworks and environm
|
|||||||
|
|
||||||
## SSR Optimizations
|
## SSR Optimizations
|
||||||
|
|
||||||
If you're using a framework that supports server-side rendering, it's usually best to pre-fetch user session on the server and use it as a fallback on the client.
|
If you're using a framework that supports server-side rendering, it's usually best to pre-fetch the user session on the server and use it as a fallback on the client.
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const session = await auth.api.getSession({
|
const session = await auth.api.getSession({
|
||||||
@@ -147,4 +147,4 @@ Optimizing database performance is essential to get the best out of Better Auth.
|
|||||||
|
|
||||||
<Callout>
|
<Callout>
|
||||||
We intend to add indexing support in our schema generation tool in the future.
|
We intend to add indexing support in our schema generation tool in the future.
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|||||||
Reference in New Issue
Block a user