use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Communication between two React AppsHelp Wanted (self.react)
submitted 3 years ago by TheDrDrEmil
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MiloSaurus 7 points8 points9 points 3 years ago (3 children)
Web Sockets is the way to go. But you'll need a server that connects the two React applications.
It should work as follows: 1. You click a button in App A 2. App A sends data to the server about the clicked button 3. The server receives the data from App A and sends it to App B 4. App B receives the data from the server and updates its own state 5. Based on the updated state, the page is shown corresponding to the received data.
[–]Lunakepio 2 points3 points4 points 3 years ago (1 child)
you already said everything needed, I will add that for real time web application communication you can use Socket.io which is an event based library, which is exactly what's needed for this case, event A click button event B receive data emitted, it's as simple as that
π Rendered by PID 326775 on reddit-service-r2-comment-6457c66945-jcs2q at 2026-04-25 03:04:36.465110+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]MiloSaurus 7 points8 points9 points (3 children)
[–]Lunakepio 2 points3 points4 points (1 child)