Problem
I try to write a generic Stomp Client (using Websockets) in React. To realize it I want to use React\'s Hook API. As I am new to React and no