How do I communicate data between two components which has no parent-child relation ,neither sibling components which has a common parent .
Scenario : I have two component Home and About
Both are mapped to two route path in App.tsx which would be my starting component. How can store something from home component and fetch the same data in About component
Note : 1. Looking for any in-built mechanism of react to achieve this , cannot use Redux due to project constraints.
- Dont want to use route params as they are not immediate routes and I can have multiple routes.