hasChild

infix fun StoreBuilder<*, *, *>.hasChild(other: Store<*, *, *>)

Alias for childStorePlugin installation with a single store and default settings.

Usage:

val child1 = store(Loading) { ... }

val store = store(Loading) {
this hasChild child1
}

See parent plugin for more details.

Parameters

other

The store to install as a child