Skip to content

Commit 45b88e1

Browse files
committed
add next.js version limitations
1 parent fb9ecaa commit 45b88e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/developer-tools/sdks/backend/nextjs-sdk.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,8 @@ To immediately get the most up-to-date Kinde data in your session, use the `refr
14881488

14891489
<Aside title="Warning" type="warning">
14901490

1491+
This utility only works in Next.js 14 and above. Attempting to use it in an older version will result in a warning.
1492+
14911493
Due to limitations in Next.js, refreshing data on demand can only occur from a client component.
14921494

14931495
For more information, see the [Next.js docs](https://nextjs.org/docs/app/api-reference/functions/cookies#understanding-cookie-behavior-in-server-components).

0 commit comments

Comments
 (0)