Hacker News new | past | comments | ask | show | jobs | submit login

(co-founder of Streamlit here)

Ian:

Thanks for that comment. You're exactly right: Streamlit adapts a React-like model. In fact, the connection goes deeper than the post describes. For example, to make it efficient to run the same script repeatedly, Streamlit does packet-level deduplication. If you generate a lot of data and send it to the browser, only small deltas need be sent to update the UI.

We have a list of future blog posts we hope to write and one of them is (cheekily) called "Streamlit is React for Python." ;) (Not quite true, more of an imperfect analogy!)

So it made me really happy to see someone drawing that analogy already. Thank you. :)




FWIW I did some things in this area a while back and ended up needing to stream canvas state back to my Python scripts for image processing.

https://gist.github.com/iandanforth/0ed987bfddf8205b8a23

I hope that could be a part of this framework in the future! (If it isn't already)


This is really cool. We've been thinking about these issues to create an image masking widget in Streamlit. Would be interesting to connect when we start down that path. If you're interested, please feel free to connect over discuss.streamlit.io. :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: