Skip to content

Nested store function #315

Open
Open
@joelpanor

Description

@joelpanor

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions