-
Notifications
You must be signed in to change notification settings - Fork 2
Server Side Rendering #6
Copy link
Copy link
Open
Description
Hello, I know this isn't a topic for this example really but I am having trouble with my basic isomorphic app. I am fetching some data from a postgres database and trying render it server side by setting the component's state to the data fetched. The problem however, is that when the client re-renders that component it does not have the same prop to render with and fails to render the same content therefore I am not gaining the benefits of a true isomorphic app. How do I pass the data fetched from the server as a prop to the client? How does data fetching work in an isomorphic app?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels