We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update
enter
We have used stateman in a dozen projects already and find that we always do similiar work in enter and update , so most of the states like below
stateman.state({ 'app.blog': { enter: function( option ){ this.udpate(option) } update: function(option){ // logic here } } })
At that rate, why not call update after enter?
Plan to change the logic in 0.3.0.
0.3.0
Just get it over with instead of keep suffering.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have used stateman in a dozen projects already and find that we always do similiar work in
enter
andupdate
, so most of the states like belowAt that rate, why not call
update
afterenter
?Plan to change the logic in
0.3.0
.Just get it over with instead of keep suffering.
The text was updated successfully, but these errors were encountered: