Shaik Md N Rasool
Shaik Md N Rasool

Reputation: 500

what happens to old views when a new view is created in MVC

what happens to old views when a new view is initiated in backbone m-v-c framework? the view object will be there in DOM?

Upvotes: 1

Views: 25

Answers (1)

Naeem Shaikh
Naeem Shaikh

Reputation: 15725

I guess your question is, what happens when a new view is loaded in place of an old view, is it removed ? or is it just hidden using CSS?

Answer is, the Old view is simply replaced by New view in the Dom, so old view is not there in the Dom.

Upvotes: 1

Related Questions