I am looking to send events from my node server to my react app. However, I don't want anybody to
be able listen to the events.<p>I've looked into redis pub/sub and google pub/sub but they seem either awfully complicated (gcloud) or hard to implement (redis doesn't have a browser client).<p>What should I use?
I don't know what you mean by "I don't want anybody to be able listen to the events," since web apps can always be taken apart using the dev tools (including the network requests). But, putting that aside for a second, since you want a node server to send events to your react app, socket.io (open source, MIT license) should be able to help you. It works with node and you can bind it to a Component's state.<p><a href="https://socket.io/" rel="nofollow">https://socket.io/</a>