Skip to content

Commit 4dc0c4f

Browse files
committed
translate pipeline/can-reuse.md
1 parent f99d095 commit 4dc0c4f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/ja/pipeline/can-reuse.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# `canReuse: Boolean | canReuse(transition) -> Boolean`
22

3-
Determines whether a component can be reused. If a component cannot be reused, the current instance will be replaced by a new one and it will go through the normal validation and activation phase.
3+
コンポーネントを再利用できるかどうか決定します。もしコンポーネントが再利用することが出来ない場合は、現状のインスタンスは新しいものによって置換され、そして通常、検証フェーズと活性化フェーズを通貨します。
44

5-
This route options can either be a plain Boolean value, or a function that synchronously returns a Boolean. **Defaults to `true`**.
5+
この route オプションは純粋な Boolean 値、または同期的に Boolean を返す関数のどちらかにすることができます。**デフォルトは `true` ** です。
66

7-
### Arguments
7+
### 引数
88

99
- [`transition {Transition}`](hooks.md#transition-object)
1010

11-
You can only access `transition.to` and `transition.from` in a `canReuse` hook.
11+
`canResue` フックでは `transition.to` `transition.from` のみアクセスできます。
1212

13-
### Return Value
13+
### 戻り値
1414

15-
- Must return a Boolean. Falsy values are treated as `false`.
15+
- Boolean を返す必要があります。偽となりうる値は、`false` として扱われます。
1616

17-
### Details
17+
### 詳細
1818

19-
`canReuse` is called synchronously, top-down for all potentially reusable components.
19+
`canReuse` 潜在的に再利用可能なコンポーネント全てに対してトップダウンで、同期的に呼び出されます。
2020

21-
If a component is reused, its `data` hook will still get called during the activation phase.
21+
もし、コンポーネントが再利用可能な場合、`data` フックはまだ活性化フェーズの間で呼び出されます。

0 commit comments

Comments
 (0)