@bythepixel/component-loader

'A component loading system for reducing bottlenecks in the browser.'

Usage no npm install needed!

<script type="module">
  import bythepixelComponentLoader from 'https://cdn.skypack.dev/@bythepixel/component-loader';
</script>

README

component-loader

Goals:

  • provide a way to initialize multiple identical JS “components” on a page
  • provide a “table of contents” for all the JS that runs on a page
  • provide a standard way of initializing a growing list of JS without worrying about creating bottlenecks when the page loads.

Usage

Features

Loader Priority

Event Bus

Examples

Accessing components from the DOM

Communication between Components