Using Stlite instead of a hosted Python runtime naturally limits the usability of Streamlit. I’m curious to what degree the following limitations have been considered and may be mitigated:
- Query parameters: my app use query parameters to store the state and enable easy sharing of configurations. Will Streamlit on CDF ever support this?
- Session state, persistence: How should things persisted when all is lost on a simple refresh? I don’t image writing state to CDF would work well.
- Memory: I’ve worked with larger data sets of which only summaries are shown to the user. Could cognite functions work as a backend for this?
- 3rd party libraries: Pydantic 2, Pola.rs &c. can’t compile to WASM (yet). I don’t image there is anything you can do about this, but I mention it because it is probably the most significant limitation and I’m curious as to whatever thoughts you have on it.