Even if you're not already familiar with React, you may still want to check out the React-based
template. It handles most of the boilerplate required to send and receive data from Streamlit, and
you can learn the bits of React you need as you go.
If you'd rather not use React, please read this section anyway! It explains the fundamentals of
Streamlit ↔ Component communication.
React
The React-based template is in template/my_component/frontend/src/MyComponent.tsx.
MyComponent.render() is called automatically when the component needs to be re-rendered (just like in any React app)
Arguments passed from the Python script are available via the this.props.args dictionary:
```python
Send arguments in Python:
result = my_component(greeting="Hello", name="Streamlit")
```
javascript
// Receive arguments in frontend:
