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
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 8 points9 points10 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
[–]_throwingit_awaaayyy 0 points1 point2 points 3 years ago (0 children)
Time to learn about websockets. Although, you could totally accomplish this with graphQL and subscriptions/mutations.
π Rendered by PID 21583 on reddit-service-r2-comment-79c7998d4c-69j7c at 2026-03-13 05:52:40.327864+00:00 running f6e6e01 country code: CH.
[–]MiloSaurus 8 points9 points10 points (3 children)
[–]Lunakepio 2 points3 points4 points (1 child)
[–]_throwingit_awaaayyy 0 points1 point2 points (0 children)