@@ -176,8 +176,7 @@ export class CounterComponent {
176
176
177
177
:::tip
178
178
179
- ** You can save 1 change detection run per emission** and improve performance of your application
180
- by providing ` Observables ` directly as ` Input ` .
179
+ ** You can save 1 change detection run per emission** and improve performance of your application by providing ` Observables ` directly as ` Input ` .
181
180
This way the ChangeDetection for the ` Input ` binding will only fire once for the first assignment.
182
181
183
182
You can use ` coerceObservable ` from ` @rx-angular/cdk/coercing ` to support static values as well as Observables with a single line of code.
@@ -222,7 +221,7 @@ export class CounterComponent {
222
221
223
222
## Output Property Bindings
224
223
225
- ** Combining ` Output ` bindings directly from RxState**
224
+ ** Combining ` Output ` bindings directly from RxState. **
226
225
227
226
:::tip
228
227
@@ -509,7 +508,7 @@ export class MovieListComponent {
509
508
510
509
</TabItem >
511
510
512
- <TabItem value = " new" label = " Functional Creation (_NEW_ )" >
511
+ <TabItem value = " new" label = " Functional Creation (NEW )" >
513
512
514
513
``` typescript
515
514
// highlight-next-line
@@ -543,7 +542,7 @@ export class MovieListComponent {
543
542
:::info
544
543
545
544
The new ` rxState ` creation function drops the ` hold ` method and with it, it's capabilities of managing side effects.
546
- If you need to have such a feature, we encourage to use [ ` rxEffects ` ] ( ./effects/effects.mdx )
545
+ If you need to have such a feature, we encourage to use [ ` rxEffects ` ] ( ./effects/effects.mdx ) .
547
546
548
547
:::
549
548
@@ -581,10 +580,10 @@ export class MovieListComponent {
581
580
582
581
</TabItem >
583
582
584
- <TabItem value = " new" label = " Functional Creation (_NEW_ )" >
583
+ <TabItem value = " new" label = " Functional Creation (NEW )" >
585
584
586
585
:::warning
587
- Not support anymore, please use [ ` rxEffects ` ] ( ./effects/effects.mdx )
586
+ Not support anymore, please use [ ` rxEffects ` ] ( ./effects/effects.mdx ) .
588
587
:::
589
588
590
589
</TabItem >
@@ -623,23 +622,16 @@ export class StatefulComponent extends RxState<{ state: number }> {
623
622
624
623
</TabItem >
625
624
626
- <TabItem value = " new" label = " Functional Creation (_NEW_ )" >
625
+ <TabItem value = " new" label = " Functional Creation (NEW )" >
627
626
628
627
:::warning
629
628
630
- Not support anymore, please choose either the RxState as a Service approach, or use it as a private property
629
+ Not support anymore, please choose either the RxState as a Service approach, or use it as a private property.
631
630
632
631
:::
633
632
634
633
</TabItem >
635
634
636
635
</Tabs >
637
636
638
- _ disclaimer_ : this doc is work in progress. Not every use case has found its way into the docs. We encourage you to contribute :).
639
-
640
- <Tabs >
641
-
642
- <TabItem value = " class-based" label = " Class Based (Classic)" ></TabItem >
643
- <TabItem value = " new" label = " Functional Creation (_NEW_)" ></TabItem >
644
-
645
- </Tabs >
637
+ _ Disclaimer_ : this doc is work in progress. Not every use case has found its way into the docs. We encourage you to contribute 🙂.
0 commit comments