Hi,
I’m working on a react component and I want to call a python callback using a custom method in my react component. Is there a way to do that please?
I created a callback in python and here is the definition:
@app.callback(
Output("element", "result"),
Input("element", "value"),
)
def python_callback(request):
return 100
In my react component method, I only change the value of the “element” to trigger the callback.
This is just for testing and to understand better how it works
Does anyone know what I’m missing please?