Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

How to reload a dash app by condition


It is possible to reload my dash App in a callback?
i Tried this:

html.A(html.Button('Refresh Page', id='refresh-page', n_clicks=0),href='/'),
Input('refresh-page', 'n_clicks'),
def refresh(n_clicks, input2,...):
       if condition:
           n_clicks ==1

But it didn’t do what i expected.
So i there a way to refresh the complet app when condition is True?
Thanks in Advance