problem description
nextjs is clicked with parameters to jump to the next page. If you want to get the passed value on the next page, for example, the index.js under the Pages page in react clicks a value with a value, and the offer.js, under Pages wants to get the passed value under offer.js.
pages are all this kind of template
import React, { Component} from "react";
export default class Index extends Component{
render(){
}
}
such a form,
import React, { Component} from "react";
export default class Offer extends Component{
render(){
}
}
how do I get the value passed by index on this page