Is there a difference in having "/"
before the name of the path? Should I get different results if in one case I am using "/"
while navigating from page 1 to page 2:
navigate({
pathname: 'page2',
search: `?${createSearchParams({ email: username })}`,
});
And in the other:
navigate({
pathname: '/page2',
search: `?${createSearchParams({ email: username })}`,
});
What will be the new pathname in both cases?