How do share data between page shifts? #563
Unanswered
livevsonline
asked this question in
Q&A
Replies: 1 comment
-
Would also be nice if the documentation would reflect a specific package tag/version, as im getting soooo many errors trying to follow the documentation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi i"m trying to share data between pages, basically i want to check if the "systeminfo" is already set, and if it is i don"t want to load a new one?
Im using:
"@tanstack/react-router": "beta",
"@tanstack/react-loaders": "beta",
Im a bit unsure on how to do this, as it seem like the context is wiped on every new route visit?
2 Routes/Loaders
Other Route Config
Currently im passing contexts to the onLoad->contextLoadcClient->load function, which i think is wrong, but how do i do it then?
Basically all i want is to set a flag if "X" has already been loaded/not undefined, then load it otherwise use the defined value?
Beta Was this translation helpful? Give feedback.
All reactions