I have two routes where the first is page route and displays a list of users.
The second is a routable popup that has a form used in creating the users.
So in my routes definition file object, the routable popup is a nested route of the page route.
No when I create a user using the routable popup, I want to call a method defined in the page route that displays the list of all users.
Tried passing the function as a prop when navigating to the popup route and accessing returns ‘undefined’.