-
Notifications
You must be signed in to change notification settings - Fork 39
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Partials #166
Labels
enhancement
New feature or request
Comments
I also want to the feature like it. The Fresh has a similar feature named Partials: https://fresh.deno.dev/docs/concepts/partials |
Related: honojs/hono#1946 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the feature you are proposing?
Maybe there is a better name for this but I'd like to be able to change routes (e.g. clicking a link) and if the page I'm navigating to has some of the same content (e.g. header, footer, sidebar, etc.) then the inner HTML gets updated with the diff rather than loading an entirely new document.
This will cause the app to feel like a single page app from the user's perspective (even though it's really a multiple page app).
This will also help retain state for input, select, textarea, etc. as well as for more complicated things like a Google Maps rendering on the page where navigating around keeps the map loaded but other content around or on the map change as the route changes.
The text was updated successfully, but these errors were encountered: