Please provide an API to access JS sessionStorage and localStorage to save user’s preferences.
I built an app where it requires a user to input several fields to start using the app. The data has to be reentered every time a page refreshes.
Please provide an API to access JS sessionStorage and localStorage to save user’s preferences.
I built an app where it requires a user to input several fields to start using the app. The data has to be reentered every time a page refreshes.
Hey @tomasx
I’ve just built a synchronous way to access localStorage from Streamlit using websockets (streamlit-ws-localstorage), feel free to try it out.
Here is a demo of fetching saved info in the browser: