Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Releases: atomixinteractions/optice

v0.2

05 Jun 00:45
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release

BREAKING CHANGES

  • dc15a21 feat(execute): change execute format. remove getState and setState

Before

const command = (a, b) => ({ getState, setState, updateState, readState, execute }) => (
  a + b + readState(someLens)
)

store.execute(command(1, 2))

Now

const command = (a, b) => ({ readState, updateState, execute }) => (
  a + b + readState(someLens)
)

store.execute(command, 1, 2)

v0.1.0

18 May 01:38
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

First release

💡