ConditionalChildren

Display or hide groups of elements conditionally using a conditional children element.

Examples

Child 1
Child 4

Contents

UsageAPIs

Usage

Leverage the observable value system to re-render only small subsets of the page when a value changes instead of your entire component.

APIs

IConditionalChildrenProps

inversefalse
boolean
Whether to apply a not operator to the result of the renderChildren value
renderChildrenrequired
IObservableLikeValue<boolean | undefined>
Whether or not to show the children of this component. If Observable, will subscribe and re-render on change notifications.

Loaded ConditionalChildren page