@ntik/component-registry

A simple in-memory registry of component, allows dynamic registration and fetch.

Usage no npm install needed!

<script type="module">
  import ntikComponentRegistry from 'https://cdn.skypack.dev/@ntik/component-registry';
</script>

README

ComponentRegistry

A simple in-memory registry of component, allows dynamic registration and fetch.

Exports

ComponentRegistry

A class which maintains the registry.

import {ComponentRegistry} from '@ntik/component-registry';

ComponentLoader

This is default instance of the registry which can be shared globally by multiple packages

import {ComponentLoader} from '@ntik/component-registry';