Skip to content

Commit 3e6096b

Browse files
committed
docs: useTransition 未翻訳部分の対応
1 parent 75344aa commit 3e6096b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/reference/react/useTransition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ function TabContainer() {
6565
```
6666

6767
<Note>
68-
#### Functions called in `startTransition` are called "Actions". {/*functions-called-in-starttransition-are-called-actions*/}
68+
#### `startTransition` で呼び出される関数は「アクション」と呼ばれる。 {/*functions-called-in-starttransition-are-called-actions*/}
6969

70-
The function passed to `startTransition` is called an "Action". By convention, any callback called inside `startTransition` (such as a callback prop) should be named `action` or include the "Action" suffix:
70+
`startTransition` に渡される関数は「アクション」と呼ばれます。慣例として、(コールバック props のように)`startTransition` 内で呼び出されるコールバックは `action` という名前にするか、末尾に "Action" というサフィックスを含めるとよいでしょう。
7171

7272
```js {1,9}
7373
function SubmitButton({ submitAction }) {

0 commit comments

Comments
 (0)