My project is a journey of three react applications, I want to use some data from application 1 to application 2 and application 2 to application 3.
If data to be passed is small, i passed it in query parameter in url of 2nd application.
And if data is large or private, i am planning to send it as a post which will be received by application 2.
Is there any better way of communicating between react applications? Can i make each reach application as a Library which can expose its data to application 2?
Communication between React web apps was not easy in 2016 when I posted this question.
Nowadays, multiple React apps, including React Native apps, can communicate easily by sharing the Redux store, common utilities, common font files and common assets in a common libs
using Monorepo. I used Nx
monorepo for this purpose.