Skip to content

Releases: hosseinmd/react-principal

change observe use way

02 Jun 10:11
Compare
Choose a tag to compare

In this release we changed observation from function to array of key

The new way to use it is this

store.useState(["stateName"])

persist

18 Mar 16:24
Compare
Choose a tag to compare

Resolve persist store

Observe

18 Mar 16:30
Compare
Choose a tag to compare

Resolve to observe state when use useState.
Observe state is the second argument of useState and any time observer states for the next update.