To summarize I still want to allow a user to click a button and be taken to a view that is in our react router like how it works today. However, I never want the user to be allowed to navigate to this view by url in their web browser. Just want to permanently block that for that specific view. Is there any simple ideas for pulling this off without having to work with local storage?
I saw a similar question here but it is asking for the whole application when I just want it this way for one specific view. The answer also seems to involve authentication. React router:I don't want user to directly navigate to pages by typing urls but allow going to pages only using links inside the app.
Thanks!