Alex
SSolara
•Created by Alex on 4/26/2024 in #questions-issues
Common object across pages
I was wondering, what is a good way to share a common object across multiple pages, organized in separate files.
I would like to initialize a heavy object once, then use in several pages within the application. If I keep pages (solara components) in a single file, that works fine. However, I would like to keep things tidy and organize each page in a separate file. I can't quite figure out how to access the common object.
Here is what I mean:
4 replies