Skip to content
New issue

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

Nh revisit start and tree #84

Merged
merged 1 commit into from Nov 19, 2015
Merged

Nh revisit start and tree #84

merged 1 commit into from Nov 19, 2015

Conversation

nhunzaker
Copy link
Contributor

@solomonhawk and @mzlock found some fun issues in transaction history that would cause store handlers to execute more times than expected. We've addressed that in the latest beta release (9.14.1-beta), however I wanted to rethink this a bit.

There are a couple of changes:

  • Do not re-evaluate state when a store is added. In future releases, I may consider throwing an error if a store is added after a Microcosm starts.
  • :start() pushes the willStart lifecycle action instead of resetting. This sounds pretty obvious, I'm not sure why it wasn't this way before.
  • Removed some null optimization checks that aren't necessary.

@ltk
Copy link

ltk commented Nov 18, 2015

👍

@nhunzaker nhunzaker merged commit b697b14 into master Nov 19, 2015
@nhunzaker nhunzaker deleted the nh-revisit-start-and-tree branch November 30, 2015 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants