RootStore

fun <T> RootStore(initialData: T, id: String = Id.next())

Parameters

initialData

: the first current value of this Store

id

: the id of this store. ids of SubStores will be concatenated.