How to structure a websocket connection with a RESTful callback for the port in a React functional component

后端 未结 0 1818
轻奢々
轻奢々 2021-02-07 04:49

What is the correct way to structure a websocket connection within a React app where the socket port is loaded via a RESTful call on page load?

  1. User loads React App
相关标签:
回答
  • 消灭零回复
提交回复
热议问题