Skip to content

Conversation

KoenLav
Copy link

@KoenLav KoenLav commented Mar 16, 2016

Addresses #20

@KoenLav
Copy link
Author

KoenLav commented Mar 16, 2016

I think this is more technically correct (setting viewModelReady to false when the Nexus is first constructed (and all 'on' listeners still need to be added) and setting it to true as soon as the onReady fires.

@KoenLav
Copy link
Author

KoenLav commented Mar 21, 2016

I think what would actually be best is that if one of the unbinds runs before the bind rather than unbinding it removes the function from onViewReady (but I'm not sure whether this is possible).

Or rather: it might actually be a bug in Meteor, if the view is Invalidated (or Destroyed) it should never fire the onViewReady handlers, in my opinion (because quite frankly the view never became ready).

What do you think?

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.

1 participant