-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I do not understand what problems are UI state fragments trying to solve?
Is this a standardized way of storing state inside hash?
Handling state in SPAs is a complex topic. Page state is composed of
different data types:
ephemeral: form values, scrolling positions.
ephemeral data should not be exposed in the URL. It disappears after force
reload. Ephemeral data is not shared when URL is forwarded.
enduring: enduring data is exposed in the URL. In SPA, this is usually
the "page" you are on. When sharing the URL, recipient will see the same
page.
What is confusing me is that I consider UI state to be ephemeral, not
expoesed in the URL.
This proposal explicitly stores UI state in the URL.
Metadata
Metadata
Assignees
Labels
No labels