Skip to content

Conversation

@mkozhukh
Copy link
Member

Update changes the order of events.
Now, when view A replaces view B, events will go like next

  • B.destroy()
  • A.init()

To do so, we remove direct destructor() calls from the rendering callback
and place the same call just after rendering new UI
( after this point we don't need old view anymore )

Update changes the order of events.
Now, when view A replaces view B, events will go like next

- B.destroy()
- A.init()

To do so, we remove direct destructor() calls from the rendering callback
and place the same call just after rendering new UI
( after this point we don't need old view anymore )
@mkozhukh
Copy link
Member Author

Related sample added
webix-hub/jet-demos#5

@mkozhukh mkozhukh requested a review from Zwillinge June 26, 2018 08:34
@mkozhukh mkozhukh merged commit 7f5b374 into master Feb 20, 2019
@mkozhukh mkozhukh deleted the destructor branch February 20, 2019 11:57
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.

2 participants