react-easy-state
react-easy-state copied to clipboard
Nested store function
Can we call store function in another store ? See the example below :
StoreA = store({
value : 1,
incrementVal(){
StoreA.value++
}
})
StoreB = store({
test(){
StoreA.incrementVal()
}
})
I want this feature please