Next.js Discord

Discord Forum

Can data fetched in server side be used in client side?

Unanswered
definitelynotshourya posted this in #help-forum
Open in Discord
I need to set/store/use data in Redux but I would very much like to move data fetching to server and serve a populated page (or atleast parts of it).

But if I move data fetching to server side, I would have to do another call just to fetch data for my redux store. Any solution/way to do this?

1 Reply

Asian black bear
If u fetched ur data in server lets say ur page , then u can just pass it to the components that need it , why u even need redux ?