Creating custom components and manage component reinstantiation

"Having encountered issues with component reinstantiation in my use of Streamlit, I spent some time creating a Streamlit application that demonstrates the problem and attempts to provide a solution.

External component developers should not only create an external component, no matter how sophisticated it may be, but they should also encapsulate their component within a class to conceal the issue of component reinstantiation.

The example can be found here: https://reinstantiate-vraj6hsg8fpq66shvkugy5.streamlit.app/"

1 Like

Good write up. Love the app layout.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.