I want to create a multiview. In each of the 9 views data will be loaded from the server (into datatables). I can’t find any examples of how to structure my application around this principle.
Do I need to hook into the viewchange-event to load the data myself and just make sure my views are already in place? I want to prevent that each of the 9 views starts loading the data at the same time. Ideally, the data would only load when navigating to that specific view.
Also, should I worry that the data stays in memory when I’ve navigated 9 different views?