Hello,
I am switching from one component to another with , but I want to send a data to the other component in the background. For example; google maps place id. When I do as below, the placeId query appears in the URL section. I just want it to show a url in the form of direct /map but I want to send the placeId to the other component in the background. Can this be done?
<Link href={{{pathname: '/map', query: { placeId: 'test' }}}>
Map
</Link>
Top comments (0)