chore: change the stores injection api

This commit is contained in:
dntzhang 2019-10-06 22:54:16 +08:00
parent b4a309ed89
commit fad4b18cff
1 changed files with 1 additions and 6 deletions

View File

@ -65,9 +65,4 @@ const storeB = new class Store {
}
}
function combine(options) {
options.__combine_ = true
return options
}
render(<my-counter />, 'body', combine({ storeA, storeB }) )
render(<my-counter />, 'body', { storeA, storeB } )