lahsivjar / react-stomp

React websocket component for STOMP protocol over SockJs
https://www.npmjs.com/package/react-stomp
MIT License
134 stars 41 forks source link

Import SockJS in full spring application #186

Open FlorianRuen opened 3 years ago

FlorianRuen commented 3 years ago

Hi there,

I'm using the react-stomp inside a Jhipster / Spring project, and it's work on one of my page to send some notifications. But today, I want to develop a notification popup (my back-end send message when alerts are created and so one), and i can't do that.

I'm explain :

Do you have any idea to make this works (maybe to initialize my client in another place ? to change this to avoid infinite loop ? using JS instead of the balise) ?

Thanks for your help on it, and I hope getting some answers,

Regards, Florian