Streanlit custom components export

I have been creating custom components with react and fetching them from npm server as it has been described here Render a React component :: Streamlit Components Tutorial. Everything works great but my problem is that it adds a big amount of loading time to my app. I made sure that it wasn’t anything else stalling my app by first removing any components of my app and any data loading and noticing I still had the same loading time. Only after removing the imports from my_component folder my loading time dropped. So, is there a way to export them somehow and maybe not use an npm server or something?

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