Facing issues if refresh the app

Hello everyone, I am facing issues in app that I am building. I create a login and signup form. when I signup the form I goes to profile , that I fine, but when I refresh the app it suddenly go to the first screen. can any one help me how the app screen not go to the home screen if I refresh the page any time. It should stick to the current screen which is open and not go to any screen until I don’t click the button. Thanks

I’m assuming you’re using states. You should try using URL parameters instead. Here’s a link to a tutorial:

Yes, i am using single page app and using states to change the screens

Yes, I guessed that, please try the solution I mentioned above. It should help.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.