I am new to reactjs/nextjs and need some help on how to pass a value from one page to another
I want to pass a value in my "Apply.jsx" page to confirmation.jsx page. The value is "name=joe"
Apply.jsx
Router.push({
pathname: "/jobseeker/confirmation" })
confirmation.jsx. (need to get value in this function)
const Confirmation = props => {
const { children, classes, view, ...rest } = props;
return (
<div className="cd-section" {...rest}>
<CardWithoutImg bold view="Seeker" link="confirm" orientation="left" />
</div>
);
};
export default withStyles(blogsStyle)(Confirmation);