How to retrieve variables from history.push in React?

后端 未结 0 355
深忆病人
深忆病人 2020-12-03 01:17

I have this function in my main page, pushing searchVal to another page. How can I retrieve and use that value in the other page, which consists of a functional component?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题