From d386713b72fa7a2b1276e1f89695c7c2553eb6ca Mon Sep 17 00:00:00 2001 From: Luna Wei Date: Mon, 14 Aug 2023 20:12:33 -0700 Subject: [PATCH 1/2] Clarify these features are not related to Next --- src/content/reference/react/use-client.md | 6 +----- src/content/reference/react/use-server.md | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/content/reference/react/use-client.md b/src/content/reference/react/use-client.md index fc6173acb79..6e131765b94 100644 --- a/src/content/reference/react/use-client.md +++ b/src/content/reference/react/use-client.md @@ -50,8 +50,4 @@ When a file marked `'use client'` is imported from a server component, [compatib ## Usage {/*usage*/} - - -This section is incomplete. See also the [Next.js documentation for Server Components](https://beta.nextjs.org/docs/rendering/server-and-client-components). - - + \ No newline at end of file diff --git a/src/content/reference/react/use-server.md b/src/content/reference/react/use-server.md index 6b9e7df006f..e410f9fe885 100644 --- a/src/content/reference/react/use-server.md +++ b/src/content/reference/react/use-server.md @@ -48,8 +48,4 @@ Alternatively, add `'use server';` at the very top of a file to mark all exports ## Usage {/*usage*/} - - -This section is incomplete. See also the [Next.js documentation for Server Components](https://beta.nextjs.org/docs/rendering/server-and-client-components). - - + \ No newline at end of file From 0d60f49b262e83b02d7c0692210d9ba8a0c2468b Mon Sep 17 00:00:00 2001 From: Luna Wei Date: Mon, 21 Aug 2023 10:00:01 -0700 Subject: [PATCH 2/2] Update warnings --- src/content/reference/react/use-client.md | 8 +++++++- src/content/reference/react/use-server.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/content/reference/react/use-client.md b/src/content/reference/react/use-client.md index 6e131765b94..f0510415b01 100644 --- a/src/content/reference/react/use-client.md +++ b/src/content/reference/react/use-client.md @@ -50,4 +50,10 @@ When a file marked `'use client'` is imported from a server component, [compatib ## Usage {/*usage*/} - \ No newline at end of file + +This section is a work in progress. + +This API can be used in any framework that supports React Server Components. You may find additional documentation from them. +* [Next.js documentation](https://nextjs.org/docs/getting-started/react-essentials) +* More coming soon + \ No newline at end of file diff --git a/src/content/reference/react/use-server.md b/src/content/reference/react/use-server.md index e410f9fe885..4acea191c4d 100644 --- a/src/content/reference/react/use-server.md +++ b/src/content/reference/react/use-server.md @@ -48,4 +48,10 @@ Alternatively, add `'use server';` at the very top of a file to mark all exports ## Usage {/*usage*/} - \ No newline at end of file + +This section is a work in progress. + +This API can be used in any framework that supports React Server Components. You may find additional documentation from them. +* [Next.js documentation](https://nextjs.org/docs/getting-started/react-essentials) +* More coming soon + \ No newline at end of file