React Link to Wont Refresh Target Component
It appears that you are trying to use React Router to navigate to another component and pass state information to that component. However, you’ve noticed that the target component is not refreshing when you navigate to it. This behavior is actually by design in React Router. When you navigate to a route using <Link> or navigate, React Router typically does not unmount and remount the component by default. Instead, it updates the URL and re-renders the current component with the new route’s props and state.






