Closed gabrielmaldi closed 8 years ago
So you want to programmatically set the previous state?
What if we added .set(memoName, previousState, previousParams)
instead?
Your approach is far better the overloading the meaning of memo
and defaultStateName
. Updated the PR!
Thanks! Would you mind adding .set
to the docs?
Done in #303
Add a
set
method to$previousState
to programmatically set the previous state.