0.0.5 • Published 3 years ago

quarkx v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

quarkX

Simple usage:

const store = createStore('test')
const unbind = store.listen('some', (path, value) => {
  expect(value).toBe(store.get(path))
})
store.set('some.path', 1)
store.set('some.path.deep.path', 2)

Middleware

const testingStore = createStore('test')
const unuse = use([testingStore], ({ commit, storeName, path }) => {
  console.log(storeName, path)
  // you can log or do something and than commit for fire reaction
  commit(storeName, path)
})
0.0.5

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago