Skip to content

Commit e927576

Browse files
committed
docs: resolve conflicts in server-functions.md
1 parent 289f211 commit e927576

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/content/reference/rsc/server-functions.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Server Functions are for use in [React Server Components](/learn/start-a-new-rea
2222

2323
#### 서버 함수를 지원하려면 어떻게 해야 하나요? {/*how-do-i-build-support-for-server-functions*/}
2424

25-
React 19의 서버 함수는 안정적이며 마이너<sup>Minor</sup> 버전 간에는 변경되지 않습니다. 그러나 React 서버 컴포넌트 번들러나 프레임워크에서 서버 함수를 구현하는 데 사용되는 기본 API는 시맨틱 버전(semver)을 따르지 않으며 React 19.x의 마이너<sup>Minor</sup> 버전 간에 변경될 수 있습니다.
25+
React 19의 서버 함수는 안정적이며 마이너<sup>Minor</sup> 버전 간에는 변경되지 않습니다. 그러나 React 서버 컴포넌트 번들러나 프레임워크에서 서버 함수를 구현하는 데 사용되는 기본 API는 유의적 버전<sup>SemVer</sup>을 따르지 않으며 React 19.x의 마이너<sup>Minor</sup> 버전 간에 변경될 수 있습니다.
2626

2727
서버 함수를 번들러나 프레임워크로 지원하려면, 특정 React 버전에 고정하거나 Canary 릴리즈를 사용하는 것을 권장합니다. 향후 서버 함수를 구현하는 데 사용되는 API를 안정화하기 위해 번들러 및 프레임워크와 계속 협력할 것입니다.
2828

@@ -39,12 +39,12 @@ React 19의 서버 함수는 안정적이며 마이너<sup>Minor</sup> 버전
3939
서버 컴포넌트는 `"use server"` 지시어로 서버 함수를 정의할 수 있습니다.
4040

4141
```js [[2, 7, "'use server'"], [1, 5, "createNote"], [1, 12, "createNote"]]
42-
// Server Component
42+
// 서버 컴포넌트
4343
import Button from './Button';
4444

4545
function EmptyNote () {
4646
async function createNote() {
47-
// Server Function
47+
// 서버 함수
4848
'use server';
4949

5050
await db.notes.create();
@@ -82,11 +82,7 @@ export async function createNote() {
8282

8383
```
8484

85-
<<<<<<< HEAD
8685
번들러가 `EmptyNote` 클라이언트 컴포넌트를 빌드할 때, 번들에서 `createNote` 함수에 대한 참조를 생성합니다. 버튼을 클릭하면, React는 제공된 참조를 통해 `createNote` 함수를 실행하도록 서버에 요청<sup>Request</sup>을 보냅니다.
87-
=======
88-
When the bundler builds the `EmptyNote` Client Component, it will create a reference to the `createNote` function in the bundle. When the `button` is clicked, React will send a request to the server to execute the `createNote` function using the reference provided:
89-
>>>>>>> 9000e6e003854846c4ce5027703b5ce6f81aad80
9086

9187
```js [[1, 3, "createNote"], [1, 6, "createNote"], [1, 8, "createNote"]]
9288
"use client";

0 commit comments

Comments
 (0)