We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a27142 commit a7deca6Copy full SHA for a7deca6
node_package/src/getReactServerComponent.client.ts
@@ -38,7 +38,8 @@ const createFromFetch = async (fetchPromise: Promise<Response>) => {
38
* This is used for client-side navigation or when rendering components
39
* that weren't part of the initial server render.
40
*
41
- * @param props - Object containing component name and props
+ * @param componentName - Name of the server component
42
+ * @param componentProps - Props for the server component
43
* @param railsContext - The Rails context containing configuration
44
* @returns A Promise resolving to the rendered React element
45
* @throws Error if RSC payload generation URL path is not configured or network request fails
0 commit comments