ActionCable and React for Beginners - DEV Community
02-May-2023 672
But sometimes, we want real-time interaction with others. For example, users on Discord or Slack don't manually refresh their applications to get new messages, they are simply received. To facilitate this need for real-time updates, we can use WebSockets.Put simply, WebSocket is an alternative internet protocol that allows for dynamic two-way communication between a client and server. Instead of a user requesting new information (like refreshing a page to load new posts), the user will receive data as it is broadcasted.
ActionCable and React for Beginners - DEV Community #ruby #rubydeveloper #rubyonrails #ActionCable #React #Beginners #Community #dev #react https://rubyonrails.ba/link/actioncable-and-react-for-beginners-dev-community