RootStore

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

Parameters

initialData

first current value of this Store

id

id of this Store. Ids of derived Stores will be concatenated.