webix-hub / webix-jet

Webix Jet micro framework for Webix UI
67 stars 19 forks source link

[update] order of destroy and init events #22

Closed mkozhukh closed 5 years ago

mkozhukh commented 6 years ago

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

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 commented 6 years ago

Related sample added https://github.com/webix-hub/jet-demos/pull/5