Redirecting to other page using React functional component
问题 I have a page where I have button, if users click on that button I am going to redirect to other page say (page 2) using the below function: const viewChange = (record) => { let path = `newPath`; history.push('/ViewChangeRequest'); }; I want to pass some of the values to other page say record.id, record.name but could not be able to figure it out the way we can pass these to other page.. My other page is looks like below: const ViewChangeRequest = () => { ..... ...... ...... }; export default