Browser local and session storage for streamlit

If you are like me, and have been on a journery learning javascript and typescript/react because of streamlit :blush: then you may want to combine javascript with streamlit to build javascript components in streamlit via its components.html. Currenlty this does not provide a way to get data into streamlit. Just store it in the browser’s local or session storage and get it in streamlit.

Or you want to store any kind of information in the browser.

Two libraries to help with this: