You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when run it, every 1 minute or so the client will automatically connect and create a new websocket. I'm sure I didn't create any other code to add a new connection. How can I turn it off?
The text was updated successfully, but these errors were encountered:
The issue most likely is caused the way useState works. It is not a bug. Using this library with React is tricky.
I usually do not program with React, and I do not use this library with React. So, I got someone to prepare a sample to use this library with React. This structure does not suffer from this problem. In addition, it also covers the case when child components use the client.
Hi Development Team,
I have issue when config stomp in ReactJS
This is my config:
But when run it, every 1 minute or so the client will automatically connect and create a new websocket. I'm sure I didn't create any other code to add a new connection. How can I turn it off?
The text was updated successfully, but these errors were encountered: