My app is running on Rails server with React client.
I can send request from React to Rails with axios
,
but I don't know how to send request from Rails to React.
When one user follows the other user, I want to show it to the other one in real-time.
Is socket.io
something that I should be using?
I welcome any kind of recommendations.
You have two basic options when it comes to pushing messages from server-to-client on the web: