This component has no template and runs like a service. It opens a websocket to the notification service using RSocket and ensures that notifications are transmitted to the clients.
Install the component:
npm i logo-mfe-notification --save
Once installed, import the component in your application:
import { createNotificationSocket } from 'logo-mfe-notification';
createNotificationSocket('userId', 'access_token').then(message => {
console.log('message: ', message)
})