I am following micro service architecture for develop react application. There are multiple projects of react and link in one main react application using npm link. which works successfully.
Web api is developed in Asp.net core. The concept is here is api and react app is in one project and we link it our main application of react. This gives benefit that our api and font code is at one place.
For example : E commerce website Main application is in react. Product module/ Order module/ Payment module are micro service which are in different projects. There all are connect using npm link in main React application. But my question is how to share data between micro service ?
I want to share user data/login info between other application. Generally we use context api for pass data to component but How this will be possible if all component in different react application?
Also there any other way to archive this in web-API in asp.net core ?