Meteor Component Example

screenshot of Meteor Component Example

Load templates on-demand using miro:preloader and numtel:publicsources

Overview

The Meteor Component Example is a demonstration of how to load templates on-demand using the miro:preloader and numtel:publicsources packages. This example is intended to address the issue of large applications suffering from slow initial page loading due to all templates being loaded at once. By implementing lazy-loading with iron:router and other supporting packages, templates can be loaded as needed, resulting in a more efficient and faster application.

Features

  • Lazy-loading of templates using miro:preloader and numtel:publicsources
  • Utilizes iron:router and other supporting packages
  • Configuration of the lazy-loaded bundle is specified in the site.publicsources.json file

Summary

The Meteor Component Example showcases how to improve the performance of large applications by implementing lazy-loading of templates. By only loading templates as needed, the initial page load is faster and overall application efficiency is improved. The example provides clear instructions on how to install the required packages and configure the lazy-loaded bundle.