You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
Initially when the Mojito Client is initialized, the binderMap sent from the server is used to create MojitProxy objects, and each one contains a config object with 'children' if there are any. This state is only the original state of the page, so when any mojits are dispatched that create new binders on the page (and new MojitProxy objects), the state of the parent binder is not updated, and there is no way for mojits to know the current state of its children.
Mojit binders must be able to have info about their current child state in order to destroy their children, otherwise they can only destroy the children defined in the original page state.
This bug must be fixed before I can remove the automatic binder cleanup, because binders must be able to destroy their children programmatically (even those that have appeared after the initial page state).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Initially when the Mojito Client is initialized, the binderMap sent from the server is used to create MojitProxy objects, and each one contains a config object with 'children' if there are any. This state is only the original state of the page, so when any mojits are dispatched that create new binders on the page (and new MojitProxy objects), the state of the parent binder is not updated, and there is no way for mojits to know the current state of its children.
Mojit binders must be able to have info about their current child state in order to destroy their children, otherwise they can only destroy the children defined in the original page state.
This bug must be fixed before I can remove the automatic binder cleanup, because binders must be able to destroy their children programmatically (even those that have appeared after the initial page state).
The text was updated successfully, but these errors were encountered: