SSR how to pass a server variable to client on render?


#1

I’m using Flow-router to do server-side rendering, but I need to pass to the client a variable (the POST payload done by a payment gateway), how to do this on server render?


#2

I’m using FineRouter (aka FlowRouter) now. Are you using the FlowRouter ssr branch to do server side rendering with flow router?


#3

I’m using Flow-router with react-mounter to route and render the views in the server and in the client. using as base code this example https://github.com/kadira-samples/meteor-data-and-react