I can reach a React component through multiple buttons on my page. If the user comes through one of those buttons within my platform I can just use router.back()
but what if they copy the url into the browser? How could I detect this? document.referrer
is always empty for me.
reactjs - How to detect if someone got routed from a different page to my platform - Stack Overflow
与本文相关的文章
评论列表(0)
- 暂无评论