Hi,
so I saw that I can include Modules inside Apps, so to keep my App simple and clear, I thought to make 2 modules, but for my bad luck, when modules where ready, I included them in my App, and I needed a simple integer, an ID, to be shared between the Module and the App, but it is imposible.
I tried storing in a Temporary State, I tried Local Storage, I tried javascript, but I was not able to share a simple ID betwen Module and App.
It is strange to have this limitation.
It seems that if there is a page reload, I can pass the ID in the URL, and Local Storage seems to work to, but I don't want to reload the page.
The purpose of what I am trying to do is simple: each module is a Form, used to search in DB and retrieve a set of results. The results are displayed in a Table and the user should pick the desired result. Each module is loaded inside a Modal, once the user picks the desired result, the Modal should close, and App should use the ID of the picked result to continue.
Unfortunately I can't even close the Modal window, because the Module is isolated from the App.
What can I do?