Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Plans for turbo handle routes? #1212

Open
rafaeldev opened this issue Mar 1, 2024 · 1 comment
Open

[QUESTION] Plans for turbo handle routes? #1212

rafaeldev opened this issue Mar 1, 2024 · 1 comment

Comments

@rafaeldev
Copy link

Hi everyone!

I'm seeing a good movement on rails to support more and more PWA Apps.
I have one using rails 7 and always think to move to react stack only to (mainly) use route manager feature.

For users using PWA (or TWA), use native back button is natural to navigate on a native app.
When the user open a modal, is natural to him press native back to "return" and it fires a back page, in this way losing form filled or other object state.

I'm talking about "routes" but can be a state stack, perhaps...

I don't know where to do this question but I'll let here.

Thanks for your work!

@brunoprietog
Copy link
Contributor

I doubt that Turbo will ever implement something like this. It is not in their spirit to maintain a state other than in HTML.

I guess the modal example is a good use case to solve with Stimulus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants