The replugger library was made to allow building React pluggable application. Build your own application or product but allow to extend it easily. Each part of your React application can contain Slot placeholder that can be filled by external plugins.
The API of the replugger library allows your plugin the decide how the would like to fill the slot. It can a small component like a link or even a full widget that will contain own Slots. You can fill the Slot with a component that can contain another Slot inside it!
The library also takes care of additional routes provided by the plugin. Let's assume your plugin would like to add an additional page to your application. Thanks to the JavaScript Decorators you can export any page with a unique route URL.
TBA
TBA
You can install the library using NPM:
npm install replugger -S
or if you prefer yarn:
yarn add replugger
TBA
Check the live example of the demo application (source).
The replugger and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.