Skip to content
Discussion options

You must be logged in to vote

If it literally doesn't need to be async, and it only needs to be done once, and can be done in the root of the application (in your example) so that it is available on every page, you can use SharedValue, which is essentially a synchronous OnceResource.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@124C41p
Comment options

Comment options

You must be logged in to vote
3 replies
@124C41p
Comment options

@gbj
Comment options

gbj May 4, 2025
Maintainer

@124C41p
Comment options

Answer selected by 124C41p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants