Skip to content

Commit afe3745

Browse files
committed
fix: 스택 -> 액티비티
1 parent df71a99 commit afe3745

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/pages/docs/get-started/navigating-activities.en.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,23 +169,23 @@ const Article: ActivityComponentType<ArticleParams> = ({ params }) => {
169169
export default Article;
170170
```
171171

172-
`pop()` takes optional parameters for the number of stacks to pop and additional options. These parameters can be omitted, and default values will be used.
172+
`pop()` takes optional parameters for the number of activities to pop and additional options. These parameters can be omitted, and default values will be used.
173173

174174
```ts
175-
pop(); // pop a single stack
175+
pop(); // pop a single activity
176176

177-
pop(3); // pop multiple stacks
177+
pop(3); // pop multiple activities
178178

179179
pop({
180180
/* additional option */
181-
}); // pop a single stack with additional options
181+
}); // pop a single activity with additional options
182182

183183
pop(3, {
184184
/* additional option */
185-
}); // pop multiple stacks with additional options
185+
}); // pop multiple activities with additional options
186186
```
187187

188-
The first parameter of the pop() function can specify the number of stacks to pop or define additional options. If the first parameter is used for the number of stacks, the second parameter can then be used to provide additional options.
188+
The first parameter of the pop() function can specify the number of activities to pop or define additional options. If the first parameter is used for the number of activities, the second parameter can then be used to provide additional options.
189189

190190
The additional options include the following values.
191191

@@ -197,4 +197,4 @@ The additional options include the following values.
197197

198198
---
199199

200-
We have learned how to stack, replace, and delete activities. Now, let's learn how to create a virtual stack within an activity.
200+
We have learned how to activity, replace, and delete activities. Now, let's learn how to create a virtual activity within an activity.

docs/pages/docs/get-started/navigating-activities.ko.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ push(
7575

7676
## 현재 액티비티 교체하기
7777

78-
다음으로 스택에 새로운 액티비티를 추가하지 않고 현재 액티비티를 교체하는 방법에 대해서 살펴봐요. `stackflow.ts`에서 생성했던 `useFlow()` 훅의 `replace()` 함수를 통해 다음과 같이 현재 액티비티를 교체할 수 있어요.
78+
다음으로 액티비티에 새로운 액티비티를 추가하지 않고 현재 액티비티를 교체하는 방법에 대해서 살펴봐요. `stackflow.ts`에서 생성했던 `useFlow()` 훅의 `replace()` 함수를 통해 다음과 같이 현재 액티비티를 교체할 수 있어요.
7979

8080
```tsx filename="MyActivity.tsx" copy
8181
import { ActivityComponentType } from "@stackflow/react";
@@ -171,25 +171,25 @@ const Article: ActivityComponentType<ArticleParams> = ({ params }) => {
171171
export default Article;
172172
```
173173

174-
`pop()` 함수는 제거할 스택 개수와 추가 옵션을 위한 선택적 파라미터를 받을 수 있어요.
174+
`pop()` 함수는 제거할 액티비티 개수와 추가 옵션을 위한 선택적 파라미터를 받을 수 있어요.
175175
첫번째 파라미터는 생략 가능하며, 생략 시 기본값이 사용돼요.
176176

177177
```ts
178-
pop(); // 스택 하나 제거
178+
pop(); // 액티비티 하나 제거
179179

180-
pop(3); // 스택 여러 개 제거
180+
pop(3); // 액티비티 여러 개 제거
181181

182182
pop({
183183
/* 추가 옵션 */
184-
}); // 추가 옵션과 함께 스택 하나 제거
184+
}); // 추가 옵션과 함께 액티비티 하나 제거
185185

186186
pop(3, {
187187
/* 추가 옵션 */
188-
}); // 추가 옵션과 함께 스택 여러 개 제거
188+
}); // 추가 옵션과 함께 액티비티 여러 개 제거
189189
```
190190

191-
`pop()` 함수의 첫번째 파라미터는 제거할 스택의 개수를 지정하거나 추가 옵션을 정의할 수 있어요.
192-
첫번째 파라미터를 스택 개수로 사용하면, 두번째 매개변수는 추가 옵션을 전달하는 데 사용할 수 있어요.
191+
`pop()` 함수의 첫번째 파라미터는 제거할 액티비티의 개수를 지정하거나 추가 옵션을 정의할 수 있어요.
192+
첫번째 파라미터를 액티비티 개수로 사용하면, 두번째 매개변수는 추가 옵션을 전달하는 데 사용할 수 있어요.
193193

194194
`pop()` 함수의 첫번째 파라미터인 추가 옵션에는 다음과 같은 값이 있어요.
195195

@@ -201,4 +201,4 @@ pop(3, {
201201

202202
---
203203

204-
액티비티를 쌓고, 교체하고, 삭제하는 방법에 대해서 알아봤어요. 이제 액티비티 내의 가상의 스택을 만들 수 있는 방법에 대해 알아봐요.
204+
액티비티를 쌓고, 교체하고, 삭제하는 방법에 대해서 알아봤어요. 이제 액티비티 내의 가상의 액티비티을 만들 수 있는 방법에 대해 알아봐요.

0 commit comments

Comments
 (0)