Dev mode vs Release mode. What are the differences?

Question #1 What are the differences between running Streamlit components in dev mode and release mode?

Question #2 Is it possible to compile the frontend for a Streamlit component installed using pip?

I would like to compile frontend for streamlit-aggrid which is installed inside virtual environment. Not sure how to do that.

Thank you in advance for the info!

Hi @JuanLovell1, welcome to the Streamlit community!

Dev mode means that you need to have nodejs running the process to serve the Streamlit component content, release mode compiles all the JS code down so that it runs seamlessly for the user of the package.

The Streamlit Component documentation highlights how to build Component code into a pip-installable package:

https://docs.streamlit.io/en/stable/publish_streamlit_components.html#prepare-your-component

Best,
Randy