We are currently revamping a mobile application that offers customers an account dashboard.
The dashboard section of the app relies on numerous web service calls to retrieve data. Previously, we utilized server-side rendering to load the page with available user information at login. Subsequently, we would use AJAX calls to fetch additional data that required backend processing. This approach allowed users to view some information immediately without having to wait for all the data to load entirely.
In our new app, we are contemplating integrating Handlebars. I am aware that it is feasible to populate a Handlebars template using AJAX calls.
Is it viable to mix content that is displayed instantly upon page load with content loaded via AJAX after the initial page load?
For instance, consider the following component:
I aim to have all component content render upon page load, excluding the section highlighted in green. That specific part should be loaded via AJAX post page load. Is this achievable with Handlebars?
Thank you!