0👍
Try to save state to localStorage
or sessionStorage
.
- If user navigates to the feedback page -> save the flag to the
localStorage
- At the app start, you should check is flag exists and redirect a user to the feedback page.
- Remove flat when user submits feedback (prevent further redirects)
Source:stackexchange.com