Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash app Updates 2 - 3 times when its first loads

$
0
0
import dash
import dash_html_components as html
import inspect

app = dash.Dash()

def serve_layout():
    print('Callinggg layout')
    return html.Div('hellof world')

app.layout = serve_layout

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

Any idea how to fix this?
it’s a simple app so its not a problem here but I have another app that creates 3 times the amount of elements needed because of this problem so I need to find a solution

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles