Description
Hi!
I am writing an application and would like to split my code into different modules to keep it organized.
For my use case, the user can press a button who's logic lives in "app.py" with its own ui
and server
. Clicking the button will open a modal who's logic lives in its own file with its own ui
and server
, the modal introduces new buttons and each button has its own logic in their respective files with their own ui
and server
components.
I can get the modal working, but when I go one layer deeper i can't seem to get it to work; nothing happens when the buttons are clicked.
I guess I am confused about how the namespace is resolved/how i should handle IDs and found the documentation lacking for more complex architectures.
Any chance we could add an example for nested modules? In the meantime it would really help me if someone could give a code example of how i could get this to work.
Thanks in advance!