Skip to content

replugger - React pluggable application made easy!

License

Notifications You must be signed in to change notification settings

macku/replugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

replugger

npm version npm dependencies npm dev dependencies Build Status Coverage Status Greenkeeper badge

React pluggable application made easy!

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.

Features

TBA

Road map

TBA

How to install

NPM and Yarn

You can install the library using NPM:

npm install replugger -S

or if you prefer yarn:

yarn add replugger

How to use it

TBA

Examples

Demo application with two plugins

Check the live example of the demo application (source).

Source

The replugger and its sub-packages are distributed as a monorepo.

For a full list of packages, see the GitHub source.