Replies: 2 comments 3 replies
-
You may be looking for compilation feature flags e.g. Or the server macro e.g. https://docs.rs/dioxus/latest/dioxus/prelude/attr.server.html |
Beta Was this translation helpful? Give feedback.
1 reply
-
The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there a way to make sure we are not in a server function..?
i am working on a hook that can be used everywhere, on the wasm client for desktop and for server.. i can make the first 2 happen, but is there a way to discriminate between wasm client and server..?
Beta Was this translation helpful? Give feedback.
All reactions