@@ -193,7 +193,7 @@ Which API you should choose is determined by how the library's underlying "depen
193193
194194 2 . ` Timeline ` (Indirect)
195195
196- 3 . ** External Resource (Direct)
196+ 3 . ** External Resource (Direct)**
197197
198198## 5. Practical Scenarios
199199
@@ -262,7 +262,7 @@ isVisibleTimeline.bind(isVisible => { // ★ Outer bind: Manages the "existence"
262262
263263- ** The outer ` bind ` manages the lifecycle of the entire component and cuts the reactive connection to the inner ` using ` when it's no longer needed.**
264264
265- - ** The inner ` using ` executes its ` cleanup ` function the moment that connection is cut, safely disposing of the ` DOM ` elements.
265+ - ** The inner ` using ` executes its ` cleanup ` function the moment that connection is cut, safely disposing of the ` DOM ` elements.**
266266
267267## 6. Conclusion
268268
@@ -467,7 +467,7 @@ const using = <A, B>(
467467
468468 2 . ` Timeline ` (間接)
469469
470- 3 . ** 外部リソース (直接)
470+ 3 . ** 外部リソース (直接)**
471471
472472## 5. 実践シナリオ集
473473
@@ -497,7 +497,6 @@ const dataTimeline: Timeline<Post[] | User[]> = sourceChoiceTimeline.bind(choice
497497 return fetchUsersApi (); // -> returns Timeline<User[]>
498498 }
499499});
500-
501500```
502501
503502#### シナリオ3: ` using ` が最適なケース
@@ -514,7 +513,6 @@ dynamicDataTimeline.using(items => {
514513 icons .forEach (icon => icon .destroy ());
515514 });
516515});
517-
518516```
519517
520518#### シナリオ4: ` bind ` と` using ` の組み合わせ
@@ -535,7 +533,6 @@ isVisibleTimeline.bind(isVisible => { // ★外側のbind: コンポーネント
535533 return createResource (dom , () => dom .remove ());
536534 });
537535});
538-
539536```
540537
541538- ** 外側の` bind ` は、コンポーネント全体のライフサイクルを管理し、不要になった際に内側の` using ` へのリアクティブな接続を断ち切ります** 。
0 commit comments