Alex
Alex
SSolara
Created by Alex on 4/26/2024 in #questions-issues
Common object across pages
Thanks for the hint. However, I don't think it is quite it. You see, the multipage example declares a reactive object and consumes it within the same file (in a Shared component). What I am after is having a global app-level object and consuming it in different pages. Example: App -> List page -> Details page App initialises the data List shows basic properties Details show 1 record in full detail. I can't figure out how to reference the app-level object without causing a circular reference: App creates instance + imports Page2; Page2 needs to import data object from App
4 replies