Widgets for React
The widget library allows developers to quickly develop composable and reusable React components by defining a common interface for passing data across different modules of an application.
Installation
You can install with npm install widgets-for-react
or yarn add widgets-for-react
.
Basic usage
You can create a hello world widget application as follows:
Widgets have a run
method which can be invoked in order to embed the widget in a normal React application, as follows: