i am using Auth0 for authentication. My container...
# prisma-whats-new
b
i am using Auth0 for authentication. My container component
App
is a
graphql
HOC that quereis the user and passes the
user
as a prop to
ChildComponent
. The
ChildComponent
is also a
graphql
HOC that uses the
user
prop as a variable. However, when I render server side, I get an error saying that
user
is undefined. How can I go about checking the authentication state on the server side and passing down the
user
props to the
ChildComponent
from the server?