I created web application. It contains 4 pages. I want to add functionality which includes pattern-matching and dcc.Store component. This function located in page 2 but dcc.Store component in page 1. In page 2 I created “n_click” variable. So I need use this variable in page 1. I imported page 2 as module to get “n_click” variable.
But I get error:
AttributeError: module ‘pages.pg2’ has no attribute ‘n_clicks_b’
Please, help me to find the way to use variable from another page
Hi, I don’t also want to create various topics asking the same thing. But I haven’t found any solution about my problem yet. Please help me to find it.