Fix Storage Doc Discrepancies
Some of the docs for the storage feature of SDK look to be incorrect. For example, the use_persistent hook has the doc:
A persistent storage hook that can be used to store data across application reloads.
I don't believe the latter bolded/italic part of this doc is correct, at least on the Web platform. We should look for all discrepancies and correct them.
I just ran into this. The doc states that
A persistent storage hook that can be used to store data across application reloads.
Depending on the platform this uses either local storage or a file storage
However, in use use_persistent appears to use session storage instead of local storage, which means that the data does not persist across application reloads on web/fullstack. Tested on Firefox.
It seems like the intended behavior is to use local storage instead of session storage?
I think use_synced_storage exists to provide a version which can span multiple sessions (Actually uses local storage), but I'm not sure. Docs to need some improvements as to what the intended semantics are.
Either way the documentation would be incorrect, no?