# compose-desktop


02/29/2024, 6:09 PM
I have a question about desktop apps and using molecule. Is it recommended to have just one molecule flow per window in the app? Right now I have 2, one molecule flow for my main window chrome, and one for the main content control (it changes depending on which tab is active in the tab bar). The thing is, my main window has a sidebar that allows to edit properties of the current selected element in the content control. But I find it awkward to pass the current element from the content control to the parent presenter. Should I just use an event to do that, and have a onChanged lambda in the constructor of my content (child) presenter?