[英]Open a route in new tab/page and carry some state in react router 4
I need to open a new page/tab with a given route on click of a mouse button and pass certain state. 我需要在单击鼠标按钮时通过给定的路线打开一个新页面/选项卡,并传递某些状态。 Is it possible without add that certain state to query parameter of new state?
是否可以不将特定状态添加到新状态的查询参数中?
如果您使用window.open,则可以通过window.opener访问父级
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.