be4r
09/19/2017, 1:43 AMApp
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?