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
If you have views A and B, where A has two subviews (C and D), if subview C's onRender method calls Application.switchTo, views A, C and D will be unmounted and view B rendered, but then immediately afterwards subview D's render method will be called (which if it expects view state to be in place from mounting, will blow up).
One potential fix might be to switch states using setImmediate to ensure the current call chain completes first.
The text was updated successfully, but these errors were encountered:
If you have views A and B, where A has two subviews (C and D), if subview C's onRender method calls Application.switchTo, views A, C and D will be unmounted and view B rendered, but then immediately afterwards subview D's render method will be called (which if it expects view state to be in place from mounting, will blow up).
One potential fix might be to switch states using setImmediate to ensure the current call chain completes first.
The text was updated successfully, but these errors were encountered: