@bf2/ui-shared

UI Shared contains a number of type definitions for shared data structures for the UI.

Usage no npm install needed!

<script type="module">
  import bf2UiShared from 'https://cdn.skypack.dev/@bf2/ui-shared';
</script>

README

UI Shared

UI Shared contains a number of shared components for the UI. The UIs are a set of micro-frontends, implemented using Webpack module federation.

Shared React contexts

In order for a React context to be shared between modules, it must be defined in a shared library and imported by all modules that use the context.