createAsync different values on client and server SSR issue
I'm trying to conditionally render components based on auth - think paywalled content.
I have a server function that detects if user has logged in:
However, createAsync returns undefined leading nothing to be rendered on the server:
Server:
Client returns the expected value:
I have a server function that detects if user has logged in:
However, createAsync returns undefined leading nothing to be rendered on the server:
Server:
Client returns the expected value:
