persistence between build and setup
Closed this issue · 5 comments
kapouer commented
Currently only state.stage
is persisted into data-page-stage
.
Extend this so an application does not have to store data by itself.
For example state.persist
and data-page
, or in a specific script type="application/json"
node.
kapouer commented
Page.storage
but let's use the simpler to setup Page.store(name, data)
kapouer commented
Stored data comes from GET requests and optionally some postprocessing.
It might be handy to have an option on GET requests to:
- post-process data
- cache post-processed data
However, storing data is not made for caching requests. Usually requests are done then merged then the data is no longer useful.
kapouer commented
Use sessionStorage api - no this seems to be unrelated.
kapouer commented
Not a good idea...