"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/"