Component development: render three times

When I was developing a component, for some unknown reason, the component output render three times every time I clicked it.

my src/lib/components/*.react.js:

And my usage.py

import dash_toastify
from dash import Dash, callback, html, Input, Output

app = Dash(__name__)

app.layout = html.Div([
    dash_toastify.DashToastify(
        id='output',
        label = "a",
    ),
    html.Button("show error",id='click')
])


@callback(Output('output', 'label'), Input('click', 'n_clicks'))
def display_output(value):
    print(1)
    return "s"


if __name__ == '__main__':
    app.run_server(debug=True)

When you run in debug mode, the code is run mutiple times. Try setting debug to false.

Hello, I set debug = False and still the same thing.

This happened to me in the past two days, and it didn’t seem to happen before. Do you need me to send all code for you to see? The example is very simple, just change a few lines of code.