Advantages of registerView() Instead of addChildView()?

The main benefit of the registerView() method is that it lets you separate the JavaScript for your Commerce website from your site’s templates. For example, if a developer creates a widget using addChildView() and writes the widget so that it renders on the home page, a designer can add the new widget to a home… Continue reading Advantages of registerView() Instead of addChildView()?