Adding Bidirectional Data Flow

How do we handle interactivity and send data back to the Python script ?

You now have an interactive slider which preserves its state. Our next challenge is to send the slider value back into our Streamlit app.

Feel free to grab the code setup from the part3 branch of the project to start :

$ git clone https://github.com/andfanilo/streamlit-custom-slider
$ git checkout part3
$ cd streamlit_custom_slider/frontend
$ npm install